mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-22 05:43:54 +08:00
* impr: add selfhosting using docker only * add recaptcha config and docs * add documentation on the backend-configuration.json file, remove ---redacted--- from example config --------- Co-authored-by: Jack <jack@monkeytype.com>
32 lines
No EOL
788 B
Bash
32 lines
No EOL
788 B
Bash
#url of the frontend, this must be accessible by your clients browser
|
|
MONKEYTYPE_FRONTENDURL="http://myserver:8080"
|
|
|
|
#url of the backend server, this must be accessible by your clients browser
|
|
MONKEYTYPE_BACKENDURL="http://myserver:5005"
|
|
|
|
# below config is only needed, if you need user accounts
|
|
# firebase config
|
|
FIREBASE_APIKEY=""
|
|
FIREBASE_AUTHDOMAIN=""
|
|
FIREBASE_PROJECTID=""
|
|
FIREBASE_STORAGEBUCKET=""
|
|
FIREBASE_MESSAGINGSENDERID=""
|
|
FIREBASE_APPID=""
|
|
|
|
# google recapture
|
|
RECAPTCHA_SITE_KEY=""
|
|
RECAPTCHA_SECRET=""
|
|
|
|
# use alternative ports
|
|
|
|
# port of the frontend http server
|
|
# HTTP_PORT=8080
|
|
|
|
# port of the backend api server
|
|
# BACKEND_PORT=5005
|
|
|
|
# port of the redis server, not exposed by default
|
|
# REDIS_PORT=6379
|
|
|
|
# port of the mongodb server, not exposed by default
|
|
# MONGO_PORT:27017 |