Add variables do docker-compose

This commit is contained in:
Filip Gralinski 2021-06-29 08:51:28 +02:00
parent ed06220ce0
commit ea3d91192d
2 changed files with 6 additions and 0 deletions

View File

@ -27,6 +27,8 @@ services:
- IS_PUBLIC=${GONITO_IS_PUBLIC:-true}
- JSON_WEB_KEY=${JSON_WEB_KEY}
- VIEWING_PROGRESS_STYLE=${GONITO_VIEWING_PROGRESS_STYLE:-with-web-sockets}
- AUTO_TEAM=${GONITO_AUTO_TEAM:-false}
- TEAM_FIELD=$GONITO_TEAM_FIELD
expose:
- "3000"
volumes:

View File

@ -11,6 +11,10 @@ NGINX_CERTIFICATE_DIR=/home/user/certs
GONITO_IS_PUBLIC=true
GONITO_SSH_DIRECTORY=/home/user/.ssh
GONITO_VIEWING_PROGRESS_STYLE=with-web-sockets
GONITO_AUTO_TEAM=false
# given_name from Keycloak will be considered as the team name
# not the actual given name
GONITO_TEAM_FIELD=given_name
# JWK key
#