webserver-framework/example.env

34 lines
700 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
# Session secret
SECRET=verySecretSecret
# For discord auth
DISCORD_SECRET=verySecretSecret
DISCORD_ID=snowflakeID