-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.template
36 lines (26 loc) · 1.3 KB
/
.env.template
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
APPLICATION_NAME=Anonymice Discord Verification Bot
# Only leave one of these sections un-commented at a time for now
# That said, all checking should be done via the NODE_ENV variable
APPLICATION_SERVER_SCHEME=http
APPLICATION_SERVER_HOST=localhost
APPLICATION_SERVER_PORT=3010
#APPLICATION_SERVER_PUBLIC_SCHEME=https
#APPLICATION_SERVER_PUBLIC_HOST=verify.anonymice.com
#APPLICATION_SERVER_PUBLIC_PORT=
# If your SCHEME is https, then you will need to set SSL variables as well
SSL_PRIVATE_KEY=/etc/letsencrypt/live/verify.anonymice.com/privkey.pem
SSL_PUBLIC_CERT=/etc/letsencrypt/live/verify.anonymice.com/cert.pem
MONGODB_HOST=localhost:27017
MONGODB_OPTIONS=?authSource=admin&retryWrites=false
MONGODB_USERNAME=admin
MONGODB_PASSWORD=secretpassword
MONGODB_DBNAME=anonymice-discord-bot
DISCORD_BOT_TOKEN= #can be found in Discord Developers > Bot Applciation > Bot > TOKEN
DISCORD_CLIENT_ID= #can be found in Discord Developers > Bot Applciation > General Information > APPLICATION ID
DISCORD_GUILD_ID= #can be found via Right Click on Server, Copy ID (might need to enable developer mode via advanced settings in user menu)
INFURA_ENDPOINT=https://mainnet.infura.io/v3/
INFURA_KEY= #free infura project key
NODE_ENV=development
DISCORD_VERIFICATION_TIMEOUT_MINUTES=30
SYNC_INTERVAL_IN_MINUTES=1440
#SYNC_ON_STARTUP=true