webserver-framework/example.env
2024-01-17 18:08:04 +02:00

37 lines
917 B
Bash

NODE_ENV=development
MARIA_HOST=localhost
MARIA_PORT=3306
MARIA_USER=
MARIA_PASS=
MARIA_DB=framework-proto
# MONGO_URI will be used if given
MONGO_URI=mongodb://127.0.0.1:27017/auth
MONGO_HOST=127.0.0.1
MONGO_PORT=27017
MONGO_USER=
MONGO_PASS=
MONGO_DB=framework-proto
MONGO_AUTH_DB=auth
# temp while figuring out a better solution for non-memory mongo cache
MONGO_MEMORY_URI=mongodb://127.0.0.1:27018/auth
MONGO_MEMORY_HOST=127.0.0.1
MONGO_MEMORY_PORT=27018
MONGO_MEMORY_USER=
MONGO_MEMORY_PASS=
MONGO_MEMORY_DB=framework-proto
# Encryption secret the server uses to create an encryption key
# These are exclusively to be used by the server
CRYPTO_SECRET=verySecretSecret
# See Server.js for how it's used, not used for anything user related
CRYPTO_SALT=salty
# Session secret
SECRET=verySecretSecret
# For discord auth
DISCORD_SECRET=verySecretSecret
DISCORD_ID=snowflakeID