forked from dappforce/subsocial-offchain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
localhost.env
69 lines (54 loc) · 1.87 KB
/
localhost.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
# Logger level
LOG_LEVEL='info'
# Test mode of Offchain app
TEST_MODE=false
# Substrate node config
SUBSTRATE_URL=ws://127.0.0.1:9944
# Substrate events config
SUBSTRATE_EVENT_SECTIONS=permissions,posts,profileFollows,profiles,reactions,scores,spaceFollows,spaceOwnership,spaces,utils
SUBSTRATE_EVENT_METHODS=SpaceCreated,SpaceUpdated,SpaceFollowed,SpaceUnfollowed,AccountFollowed,AccountUnfollowed,PostCreated,PostUpdated,PostShared,CommentCreated,CommentUpdated,PostReactionCreated,CommentReactionCreated,ProfileCreated
APP_BASE_URL=https://app.subsocial.network
# Max results limit fetched from PostgreSQL or ElasticSearch
MAX_RESULTS_LIMIT=20
# PostgreSQL config
PGHOST=127.0.0.1
PGDATABASE=subsocial
PGUSER=dev
PGPASSWORD=1986
PGPORT=5432
# PG_MAX_POOL_SIZE=40
# PG_SSL=true
# ElasticSearch config
ES_OFFCHAIN_USER='offchain'
ES_OFFCHAIN_PASSWORD='>> TODO change me <<'
ES_READONLY_USER='readonly'
ES_READONLY_PASSWORD='>> TODO change me <<'
# ES_CERT='>> TODO change me <<'
# ElasticSearch indecies
ES_NODE_URL='http://127.0.0.1:9200'
# IPFS config
IPFS_NODE_URL='http://127.0.0.1:5001'
IPFS_READ_ONLY_NODE_URL='http://127.0.0.1:8080'
IPFS_GATEWAY_URL='https://ipfs.io'
IPFS_CLUSTER_URL='http://localhost:9094'
# Max size (in MB) of a file that can be added to our IPFS node.
IPFS_MAX_FILE_SIZE_BYTES=2097152
# Offchain settings
CORS_ALLOWED_ORIGIN='http://localhost'
OFFCHAIN_SERVER_PORT=3001
OFFCHAIN_WS_PORT=3011
OFFCHAIN_TELEGRAM_WS_PORT=3020
OFFCHAIN_REQ_TIMEOUT_SECS=5
# Nodemail settings
EMAIL_HOST=">> SMTP server <<"
EMAIL_PORT=465
EMAIL_USER=">> SMTP username <<"
EMAIL_PASSWORD=">> SMTP password <<"
EMAIL_FROM="[email protected]"
# Only 'ed25519' type of key
FAUCET_MNEMONIC='>> Faucet mnemonic <<'
# Amount of tokens per drip (floating point)
FAUCET_DRIP_AMOUNT='0.05'
FAUCET_MAX_AMOUNT_TOP_UP='0.025'
RECAPTCHA_KEY='>> add me <<'
KUSAMA_NODE_URL = 'wss://kusama-rpc.polkadot.io'