mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-10 08:55:37 +08:00
a0416d3eba
* chore: allow backend docker compose to start the api-server alongside redis & mongodb * chore: update node versions in docker compose * chore: add an extra compose file in backend * docs: update advanced contribution guide with docker compose changes * add docker script support server_open env variable * move files * npm scripts rename file * add docker ignore * fix redis not working * rename file * mounting root instead * update docs * update docs table of contents * restart on fail --------- Co-authored-by: Miodec <jack@monkeytype.com>
25 lines
697 B
Bash
25 lines
697 B
Bash
DB_NAME=monkeytype
|
|
DOCKER_SERVER_PORT=5005
|
|
DOCKER_DB_PORT=27017
|
|
DB_URI=mongodb://localhost:27017
|
|
DOCKER_REDIS_PORT=6379
|
|
REDIS_URI=redis://localhost:6379
|
|
LOG_FOLDER_PATH=./logs/
|
|
# Default log file max size is 10 MB
|
|
LOG_FILE_MAX_SIZE=10485760
|
|
MODE=dev
|
|
RECAPTCHA_SECRET=6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
|
|
# You can also use the format mongodb://username:password@host:port or
|
|
# uncomment the following lines if you want to define them separately
|
|
# DB_USERNAME=
|
|
# DB_PASSWORD=
|
|
# DB_AUTH_MECHANISM="SCRAM-SHA-256"
|
|
# DB_AUTH_SOURCE=admin
|
|
|
|
# You can get a testing email address over at
|
|
# https://ethereal.email/create
|
|
#
|
|
# EMAIL_PORT=587
|
|
# EMAIL_HOST=smtp.ethereal.email
|
|
# EMAIL_USER=
|
|
# EMAIL_PASS=
|