-
Notifications
You must be signed in to change notification settings - Fork 115
/
.env
91 lines (73 loc) · 2.94 KB
/
.env
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
COMPOSE_PROJECT_NAME=joystream
PROJECT_NAME=query_node
# We will use a single postgres service with multiple databases
# The env variables below are by default used by all services and should be
# overriden in local env files
# DB config
INDEXER_DB_NAME=query_node_indexer
DB_NAME=query_node_processor
DB_USER=postgres
DB_PASS=postgres
# This value will not be used by query-node docker containers.
# When running query-node with docker these services will always use the db service
DB_HOST=localhost
DB_PORT=5432
DEBUG=index-builder:*
TYPEORM_LOGGING=error
## Indexer options
# Block height to start indexing from.
# Note, that if there are already some indexed events, this setting is ignored
BLOCK_HEIGHT=0
# Query node GraphQL server port
# Remember to change it in COLOSSUS_QUERY_NODE_URL and DISTRIBUTOR_QUERY_NODE_URL as well
GRAPHQL_SERVER_PORT=8081
# Query node playground endpoint
# Leave it blank if you want endpoint to be copied from browser's URL
GRAPHQL_PLAYGROUND_ENDPOINT=""
# Query node playground subscription endpoint - will be derived from GRAPHQL_PLAYGROUND_ENDPOINT
# when not set
# GRAPHQL_PLAYGROUND_SUBSCRIPTION_ENDPOINT=ws://localhost:8081/graphql
# URL for CDN serving QN Playground's JS/CSS files - set empty string for local file serving
GRAPHQL_PLAYGROUND_CDN_URL=""
# Hydra indexer gateway GraphQL server port
# Remember to change it in PROCESSOR_INDEXER_GATEWAY as well
HYDRA_INDEXER_GATEWAY_PORT=4000
# Default GraphQL server host. It is required during "query-node config:dev"
GRAPHQL_SERVER_HOST=localhost
# Websocket RPC endpoint containers will use.
JOYSTREAM_NODE_WS=ws://joystream-node:9944/
# Query node which colossus will use
COLOSSUS_QUERY_NODE_URL=http://graphql-server:8081/graphql
# Query node which distributor will use
DISTRIBUTOR_QUERY_NODE_URL=http://graphql-server:8081/graphql
# Indexer gateway used by processor. If you don't use the local indexer set this to a remote gateway
PROCESSOR_INDEXER_GATEWAY=http://hydra-indexer-gateway:4000/graphql
# Colossus services identities
# Assuming hired lead has worker id 0
COLOSSUS_1_WORKER_ID=1
COLOSSUS_1_WORKER_URI=//testing//worker//Storage//1
COLOSSUS_1_TRANSACTOR_URI=//Colossus1
COLOSSUS_2_WORKER_ID=2
COLOSSUS_2_WORKER_URI=//testing//worker//Storage//2
COLOSSUS_2_TRANSACTOR_URI=//Colossus2
# Distributor node services identities
# Assuming hired lead has worker id 0
DISTRIBUTOR_1_WORKER_ID=1
DISTRIBUTOR_1_ACCOUNT_URI=//testing//worker//Distribution//1
DISTRIBUTOR_2_WORKER_ID=2
DISTRIBUTOR_2_ACCOUNT_URI=//testing//worker//Distribution//2
# Membership Faucet
INVITER_KEY=
# SendGrid API key
SENDGRID_API_KEY=
# Destination email address for failure alerts
ALERT_TO_EMAIL=
ALERT_FROM_EMAIL=
# HCaptcha secret API key
HCAPTCHA_SECRET=
BALANCE_CREDIT=300000000000
BALANCE_LOCKED=300000000000
# joystream/node docker image tag
# We do not provide a default value - scripts that startup a joystream-node service
# Should be explicit about what version to use.
# JOYSTREAM_NODE_TAG=latest