mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
feat: add production env sample
This commit is contained in:
1 parent
44ecd3b87a
commit
d7c5c756f3
2 files changed
+47
No files matched your search
@@ -0,0 +1,46 @@
|
|||||||
|
HOST=localhost
|
||||||
|
PORT=3000
|
||||||
|
BASE_URL=https://example.com
|
||||||
|
SECRET_KEY=YOU_SHOULD_CHANGE_THIS
|
||||||
|
BACKEND_URL=http://backend:3000
|
||||||
|
|
||||||
|
MONGO_ROOT_PASSWORD=adminpassword
|
||||||
|
MONGO_USER=commander
|
||||||
|
MONGO_PASS=commander
|
||||||
|
MONGO_DB=linux-odyssey
|
||||||
|
|
||||||
|
# Admin user credentials for analytics
|
||||||
|
ADMIN_USERNAME=admin
|
||||||
|
ADMIN_PASSWORD=admin
|
||||||
|
|
||||||
|
# Optional
|
||||||
|
# CONTAINER_EXPIRY=60 # 60 minutes
|
||||||
|
# SESSION_MAX_AGE=168 # 7 days
|
||||||
|
# TRUSTED_PROXIES=1.2.3.4
|
||||||
|
# valid configurations see isIP & isIPRange in https://github.com/validatorjs/validator.js?tab=readme-ov-file#validators
|
||||||
|
|
||||||
|
# GOOGLE_CLIENT_ID=
|
||||||
|
# GOOGLE_CLIENT_SECRET=
|
||||||
|
# GITHUB_CLIENT_ID=
|
||||||
|
# GITHUB_CLIENT_SECRET=
|
||||||
|
# SURVEY_URL=
|
||||||
|
# BUG_REPORT_URL=
|
||||||
|
# DOCKER_NETWORK=
|
||||||
|
|
||||||
|
# SURVEY_URL=
|
||||||
|
# BUG_REPORT_URL=
|
||||||
|
|
||||||
|
# Docker related config
|
||||||
|
# DOCKER_NETWORK=host
|
||||||
|
# QUEST_IMAGE=linuxodyssey/quest-base
|
||||||
|
# DOCKER_PREFIX=linuxodyssey/quest-
|
||||||
|
|
||||||
|
# To mount quest folder from host into container, for development purpose
|
||||||
|
# MOUNT_QUEST=true
|
||||||
|
|
||||||
|
# LOG_PATH=
|
||||||
|
|
||||||
|
# Testing, create a user with the following credentials, disable rate limiting
|
||||||
|
# TESTING=true
|
||||||
|
# TESTING_USERNAME=alex
|
||||||
|
# TESTING_PASSWORD=Alex1234
|
||||||
@@ -87,6 +87,7 @@ built
|
|||||||
.env.test.local
|
.env.test.local
|
||||||
.env.production.local
|
.env.production.local
|
||||||
.env.local
|
.env.local
|
||||||
|
.env.prod
|
||||||
|
|
||||||
# parcel-bundler cache (https://parceljs.org/)
|
# parcel-bundler cache (https://parceljs.org/)
|
||||||
.cache
|
.cache
|
||||||
|
|||||||
Reference in new issue
Block a user