From f8f6b8aad98de88f6d7045e307faaccf5c1113af Mon Sep 17 00:00:00 2001 From: Julian Euler Date: Wed, 9 Feb 2022 14:18:03 +0100 Subject: [PATCH] prod templates: add contact url & openID, move vars The old template was outdated. Added additional explanations to variables and divided them into sections. --- contrib/docker/.env.prod.template | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/contrib/docker/.env.prod.template b/contrib/docker/.env.prod.template index 73ab5a2d..8ade4634 100644 --- a/contrib/docker/.env.prod.template +++ b/contrib/docker/.env.prod.template @@ -10,10 +10,9 @@ ADMIN_API_TOKEN= # The base domain 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 PUSHER_HOST=pusher.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" 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_USERNAME_LENGTH=8 DISABLE_ANONYMOUS=false # 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 TZ=Europe/Paris @@ -60,7 +63,7 @@ SECRET_JITSI_KEY= TURN_SERVER= TURN_USER= 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. # Keep empty if you are sharing hard coded / clear text credentials. TURN_STATIC_AUTH_SECRET= @@ -74,11 +77,28 @@ STUN_SERVER= # The email address used by Let's encrypt to send renewal warnings (compulsory) 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 # Generally does not need to be changed # +# Networking +HTTP_PORT=80 +HTTPS_PORT=443 # Workadventure settings DISABLE_NOTIFICATIONS=false