mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 19:47:03 +00:00
A config.json file can be used for all ENV settings, and nconf will still allow using ENV overrides. See https://github.com/flatiron/nconf for syntax, or copy the config.json.example file to config.json.
15 lines
No EOL
511 B
Text
15 lines
No EOL
511 B
Text
{
|
|
"PORT":3000,
|
|
"IP":"0.0.0.0",
|
|
"BASE_URL": "http://localhost",
|
|
"FACEBOOK_KEY":"123456789012345",
|
|
"FACEBOOK_SECRET":"aaaabbbbccccddddeeeeffff00001111",
|
|
"NODE_DB_URI":"mongodb://user:pass@hostname:27017/db_name",
|
|
"NODE_ENV":"development",
|
|
"SESSION_SECRET":"YOUR SECRET HERE",
|
|
"SMTP_USER":"user@domain.com",
|
|
"SMTP_PASS":"password",
|
|
"SMTP_SERVICE":"Gmail",
|
|
"STRIPE_API_KEY":"aaaabbbbccccddddeeeeffff00001111",
|
|
"STRIPE_PUB_KEY":"22223333444455556666777788889999"
|
|
} |