From 61e005081c3be37ee6e04567125cce2b8547f2c9 Mon Sep 17 00:00:00 2001 From: Antoine Pelletier Date: Sat, 24 Oct 2026 13:50:13 +0200 Subject: [PATCH] wip --- docker-compose.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index c879ecc..85aa686 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,10 +8,13 @@ # X-Proxy-Secret header, a request is refused # APP_PORT host port for the reverse proxy to point at (default 3011) # LOGOUT_URL logout page of Authelia, e.g. https://authelia.tibiscuit.ch/logout +# APP__TIMETAGGER__URL API of TimeTagger, e.g. https://tagger.tibiscuit.ch/api/v2 # # The settings of each person also come from the environment, by login (all optional): # APP__USERS____STUDENT_NAME, APP__USERS____STUDENT_ID, # APP__USERS____TIMETAGGER_TOKEN +# The variables of a stack only fill the ${...} of this file, they do not reach the +# container by themselves: a new person needs their lines in `app.environment`. services: db: @@ -58,6 +61,11 @@ services: # this secret, added by Caddy, are accepted APP__AUTH__PROXY_SECRET: ${PROXY_SECRET:?set PROXY_SECRET in the stack} APP__AUTH__LOGOUT_URL: ${LOGOUT_URL:-} + # Empty values are ignored by the app, so an unset variable keeps the default + APP__TIMETAGGER__URL: ${APP__TIMETAGGER__URL:-} + APP__USERS__APPELLET__STUDENT_NAME: ${APP__USERS__APPELLET__STUDENT_NAME:-} + APP__USERS__APPELLET__STUDENT_ID: ${APP__USERS__APPELLET__STUDENT_ID:-} + APP__USERS__APPELLET__TIMETAGGER_TOKEN: ${APP__USERS__APPELLET__TIMETAGGER_TOKEN:-} volumes: # Files of the courses: a folder per person. Must belong to uid 1000, the user # of the container.