forked from Joystream/pioneer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.dev
64 lines (46 loc) · 1.72 KB
/
.env.dev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#
# Database
#
POSTGRES_DB: "pioneer"
POSTGRES_USER: "pioneer"
POSTGRES_PASSWORD: "pioneer"
# Use a non standard port to not interfere with the local Joystream mono-repo `db` service.
DB_PORT: 5433
# URL Prisma uses to connect to the database (this value is not used when runing the api from the docker compose file).
DATABASE_URL: "postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost:${DB_PORT}/${POSTGRES_DB}"
#
# Joystream environment
#
# Query node to fetch from:
# - http://localhost:8081/graphql to connect to a query node running locally.
# - http://graphql-server:8081/graphql to connect to the Joystream mono-repo docker service from its network.
# - https://query.joystream.org/graphql to connect to the Joystream's mainnet query node.
QUERY_NODE_ENDPOINT: "https://query.joystream.org/graphql"
# Pioneer instance to link to in the notification (Use "http://localhost:8080" for the local instance).
PIONEER_URL: "https://pioneerapp.xyz"
# Block to start fetching the events from.
STARTING_BLOCK: 1
#
# General
#
# Port to run the api on.
PORT: 3000
# The key used to to sign JSON Web Token with.
APP_SECRET_KEY: "SECRET_1234"
# Log level.
APP_LOG_LEVEL: "verbose"
NODE_ENV: "development"
#
# Email
#
# EMAIL_SENDER: "test@example.com"
# Only one of the api provider should be defined
# SENDGRID_API_KEY: "SG.1234567890qwerty"
# MAILGUN_API_KEY: "qwerty12345"
# MAILGUN_DOMAIN: "example.com"
# MAILGUN_API_URL: "https://api.eu.mailgun.net" # this is needed for EU domains
#
# For development only:
#
# Create default members (their tokens will be displayed when the server start).
INITIAL_MEMBERSHIPS: '[{ "id": 1, "name": "Alice", "email": "alice@example.com" }, { "id": 2, "name": "Bob", "email": "bob@example.com" }]'