webserver-framework/example.env

36 lines
788 B
Bash
Raw Normal View History

2022-11-13 20:10:00 +01:00
NODE_ENV=development
MARIA_HOST=localhost
MARIA_PORT=3306
MARIA_USER=
MARIA_PASS=
MARIA_DB=framework-proto
2023-02-06 14:13:41 +01:00
# MONGO_URI will be used if given
MONGO_URI=mongodb://127.0.0.1:27017/auth
MONGO_HOST=127.0.0.1
2022-11-13 20:10:00 +01:00
MONGO_PORT=27017
MONGO_USER=
MONGO_PASS=
MONGO_DB=framework-proto
2022-11-23 23:06:02 +01:00
MONGO_AUTH_DB=auth
2022-11-13 20:10:00 +01:00
2023-02-06 13:14:15 +01:00
# temp while figuring out a better solution for non-memory mongo cache
2023-02-06 14:13:41 +01:00
MONGO_MEMORY_URI=mongodb://127.0.0.1:27018/auth
MONGO_MEMORY_HOST=127.0.0.1
2023-02-06 13:14:15 +01:00
MONGO_MEMORY_PORT=27018
MONGO_MEMORY_USER=
MONGO_MEMORY_PASS=
MONGO_MEMORY_DB=framework-proto
2022-11-13 20:10:00 +01:00
# Encryption secret
CRYPTO_SECRET=verySecretSecret
2023-02-07 21:20:39 +01:00
# See Server.js for how it's used, not used for anything user related
CRYPTO_SALT=salty
2022-11-13 20:10:00 +01:00
# Session secret
SECRET=verySecretSecret
# For discord auth
DISCORD_SECRET=verySecretSecret
DISCORD_ID=snowflakeID