mirror of
https://github.com/PretendoNetwork/account.git
synced 2026-09-12 21:38:12 -05:00
Added loading config from env
This commit is contained in:
18
example.env
Normal file
18
example.env
Normal file
@@ -0,0 +1,18 @@
|
||||
PN_ACT_PREFER_ENV_CONFIG=true # Load config from ENV instead of config.json
|
||||
PN_ACT_CONFIG_HTTP_PORT=7070
|
||||
PN_ACT_CONFIG_MONGO_URI=mongodb://localhost:27017
|
||||
PN_ACT_CONFIG_MONGO_DB_NAME=database_name
|
||||
PN_ACT_CONFIG_MONGOOSE_OPTION_useNewUrlParser=true
|
||||
PN_ACT_CONFIG_MONGOOSE_OPTION_useUnifiedTopology=true
|
||||
PN_ACT_CONFIG_REDIS_URL=redis://localhost:6379
|
||||
PN_ACT_CONFIG_EMAIL_HOST=smtp.gmail.com
|
||||
PN_ACT_CONFIG_EMAIL_PORT=587
|
||||
PN_ACT_CONFIG_EMAIL_SECURE=false
|
||||
PN_ACT_CONFIG_EMAIL_USERNAME=username
|
||||
PN_ACT_CONFIG_EMAIL_PASSWORD=password
|
||||
PN_ACT_CONFIG_EMAIL_FROM=Company Name <user@company.net>
|
||||
PN_ACT_CONFIG_S3_ACCESS_KEY=ACCESS_KEY
|
||||
PN_ACT_CONFIG_S3_ACCESS_SECRET=ACCESS_SECRET
|
||||
PN_ACT_CONFIG_HCAPTCHA_SECRET=0x0000000000000000000000000000000000000000
|
||||
PN_ACT_CONFIG_CDN_BASE=https://example.com
|
||||
PN_ACT_CONFIG_WEBSITE_BASE=https://example.com
|
||||
Reference in New Issue
Block a user