Workadventure self hosting deployment
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
workadventure/.env

75 lines
2.3 KiB

# The base domain
DOMAIN=adventure.nom-domain.tld
DEBUG_MODE=false
# JITSI_URL=meet.jit.si
JITSI_URL=jitsi.nom-domain.tld
# If your Jitsi environment has authentication set up, you MUST set JITSI_PRIVATE_MODE to "true" and you MUST pass a SECRET_JITSI_KEY to generate the JWT secret
JITSI_PRIVATE_MODE=false
JITSI_ISS=
SECRET_JITSI_KEY=
# URL of the TURN server (needed to "punch a hole" through some networks for P2P connections)
#TURN_SERVER=turn:numb.viagenie.ca
#TURN_USER=webrtc@live.com
#TURN_PASSWORD=muazkh
DATA_DIR=./wa
TURN_SERVER=turn:turn.adventure.nom-de-domaine.tld:3478?transport=tcp
TURN_USER=workadventure
TURN_PASSWORD=workadventure123
# The URL used by default, in the form: "/_/global/map/url.json"
START_ROOM_URL=/_/global/thecodingmachine.github.io/workadventure-map-starter-kit/map.json
# The email address used by Let's encrypt to send renewal warnings (compulsory)
ACME_EMAIL=email@nom-domain.tld
# Set to true to allow using this instance as a target for the apiUrl property
FEDERATE_PUSHER=false
# Server settings
MAX_PER_GROUP=4
MAX_USERNAME_LENGTH=25
DISABLE_NOTIFICATIONS=false
SKIP_RENDER_OPTIMIZATIONS=false
# Secrets
SECRET_KEY="some-long-string-of-letters-and-numbers"
ADMIN_API_TOKEN="some-other-long-string-of-letters-and-numbers"
ADMIN_API_URL=
# CONTAINERS ADRESSES
FRONT_URL=play.adventure.nom-domain.tld
PUSHER_HOST=pusher.adventure.nom-domain.tld
BACK_HOST=api.adventure.nom-domain.tld
UPLOADER_HOST=uploader.adventure.nom-domain.tld
CHAT_URL=chat.adventure.nom-domain.tld
CHAT_HOST=chat.adventure.nom-domain.tld
ICON_HOST=icon.adventure.nom-domain.tld
MAP_HOST=map.adventure.nom-domain.tld
# OIDC
ENABLE_OPENID=true
OPID_CLIENT_ID=adventure
OPID_CLIENT_SECRET=<keycloak-secret>
OPID_CLIENT_ISSUER=https://keycloak.nom-domain.tld/auth/realms/<realm>/.well-known/openid-configuration
OPID_CLIENT_REDIRECT_URL=https://pusher.adventure.nom-domain.tld/openid-callback
OPID_PROFILE_SCREEN_PROVIDER=http://pusher.adventure.nom-domain.tld/login-screen
DISABLE_ANONYMOUS=true
OPID_USERNAME_CLAIM=preferred_username
# chat
ENABLE_CHAT=true
ENABLE_CHAT_UPLOAD=true
UPLOAD_MAX_FILESIZE=10485760
# redis
#UPLOADER_REDIS_HOST=
#UPLOADER_REDIS_PORT=
UPLOADER_REDIS_DB_NUMBER=0
# ejabberd
#EJABBERD_DOMAIN=ejabberd
#EJABBERD_WS_URI=ws://ejabberd:5443/ws
#EJABBERD_API_URI=https://ejabberd:5443/api