prod templates: add contact url & openID, move vars

The old template was outdated.
Added additional explanations to variables and divided them into 
sections.
This commit is contained in:
Julian Euler 2022-02-09 14:18:03 +01:00
parent fb65510413
commit f8f6b8aad9

View File

@ -10,10 +10,9 @@ ADMIN_API_TOKEN=
# The base domain # The base domain
DOMAIN=workadventure.localhost DOMAIN=workadventure.localhost
HTTP_PORT=80
HTTPS_PORT=443
# Subdomains (must match the DOMAIN variable above) # Subdomains
# MUST match the DOMAIN variable above
FRONT_HOST=front.workadventure.localhost FRONT_HOST=front.workadventure.localhost
PUSHER_HOST=pusher.workadventure.localhost PUSHER_HOST=pusher.workadventure.localhost
BACK_HOST=api.workadventure.localhost BACK_HOST=api.workadventure.localhost
@ -30,12 +29,16 @@ DATA_DIR=./wa
# The URL used by default, in the form: "/_/global/map/url.json" # The URL used by default, in the form: "/_/global/map/url.json"
START_ROOM_URL=/_/global/maps.workadventu.re/Floor0/floor0.json START_ROOM_URL=/_/global/maps.workadventu.re/Floor0/floor0.json
# If you want to have a contact page in your menu,
# you MUST set CONTACT_URL to the URL of the page that you want
CONTACT_URL=
MAX_PER_GROUP=4 MAX_PER_GROUP=4
MAX_USERNAME_LENGTH=8 MAX_USERNAME_LENGTH=8
DISABLE_ANONYMOUS=false DISABLE_ANONYMOUS=false
# The version of the docker image to use # The version of the docker image to use
# (Must uncomment "image" keys in the docker-compose file) # MUST uncomment "image" keys in the docker-compose file for it to be effective
VERSION=master VERSION=master
TZ=Europe/Paris TZ=Europe/Paris
@ -60,7 +63,7 @@ SECRET_JITSI_KEY=
TURN_SERVER= TURN_SERVER=
TURN_USER= TURN_USER=
TURN_PASSWORD= TURN_PASSWORD=
# If your Turn server is configured to use the Turn REST API, you should put the shared auth secret here. # If your Turn server is configured to use the Turn REST API, you MUST put the shared auth secret here.
# If you are using Coturn, this is the value of the "static-auth-secret" parameter in your coturn config file. # If you are using Coturn, this is the value of the "static-auth-secret" parameter in your coturn config file.
# Keep empty if you are sharing hard coded / clear text credentials. # Keep empty if you are sharing hard coded / clear text credentials.
TURN_STATIC_AUTH_SECRET= TURN_STATIC_AUTH_SECRET=
@ -74,11 +77,28 @@ STUN_SERVER=
# The email address used by Let's encrypt to send renewal warnings (compulsory) # The email address used by Let's encrypt to send renewal warnings (compulsory)
ACME_EMAIL= ACME_EMAIL=
#
# Additional app configs
# Configuration for apps which are not workadventure itself
#
# openID
OPID_CLIENT_ID=
OPID_CLIENT_SECRET=
OPID_CLIENT_ISSUER=
OPID_CLIENT_REDIRECT_URL=
OPID_LOGIN_SCREEN_PROVIDER=http://pusher.workadventure.localhost/login-screen
OPID_PROFILE_SCREEN_PROVIDER=
# #
# Advanced configuration # Advanced configuration
# Generally does not need to be changed # Generally does not need to be changed
# #
# Networking
HTTP_PORT=80
HTTPS_PORT=443
# Workadventure settings # Workadventure settings
DISABLE_NOTIFICATIONS=false DISABLE_NOTIFICATIONS=false