forked from paritytech/polkadot-hub-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.example.env
53 lines (41 loc) · 1.38 KB
/
.example.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
JWT_SECRET="your_super_secret_token"
NODE_ENV="development"
PORT=3000
APP_HOST="http://127.0.0.1:3000"
DATABASE_URI="postgresql://username:password@container-image-name-or-host/database-name"
SUPERUSERS='["[email protected]"]' # list of admin emails or Polkadot addresses
# AUTH (at least one auth intergration should be turned on in the config)
# Google Auth
OAUTH2_GOOGLE_CLIENT_ID=""
OAUTH2_GOOGLE_CLIENT_SECRET=""
# Polkadot
AUTH_MESSAGE_TO_SIGN="027bbda234f3e86273683eab96a4a2a1d3a0"
WALLET_CONNECT_PROJECT_ID="projectIdOnWalletConnectCloud"
ALLOWED_WALLETS=["polkadot-js","talisman","subwallet-js","subwallet","novawallet","walletconnect"]
# INTEGRATIONS
# Bamboo (optional)
BAMBOOHR_API_TOKEN=""
BAMBOOHR_SUBDOMAIN=""
# Sending notifications in Matrix (optional)
MATRIX_SERVER="matrix.example.com"
MATRIX_DOMAIN="matrix.example.com"
MATRIX_ADMIN_ROOM_ID="!R00mId:matrix.example.com"
MATRIX_API_TOKEN=""
MATRIX_BOT_NAME="Polkadot Hub Bot"
MATRIX_BOT_USERNAME="@username:matrix.example.com"
# Sending emails: SMTP (optional)
SMTP_ENDPOINT=""
SMTP_PORT=""
SMTP_USERNAME=""
SMTP_PASSWORD=""
SMTP_FROM_NAME=""
SMTP_FROM_EMAIL=""
# Mapbox (optional)
MAPBOX_API_KEY=""
# Notion (optional)
NOTION_API_TOKEN=""
NOTION_EVENTS_DATABASE=""
# DEVELOPMENT (optional)
DEBUG=false # skip sending notifications and emails
LOG_DB_QUERIES=false
SKIP_CRON_JOBS=false # prevent the server from scheduling cron jobs