From 81f63f717d6ef5c041cca32cf58cbc79a0c39571 Mon Sep 17 00:00:00 2001 From: nathan Date: Sat, 25 Apr 2026 11:34:47 -0400 Subject: [PATCH] fix: update SnapOtter service environment variables in compose.yaml Co-authored-by: Copilot --- nodes/heimdall/snapotter/compose.yaml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/nodes/heimdall/snapotter/compose.yaml b/nodes/heimdall/snapotter/compose.yaml index 063e449..85c44e5 100644 --- a/nodes/heimdall/snapotter/compose.yaml +++ b/nodes/heimdall/snapotter/compose.yaml @@ -8,9 +8,21 @@ services: networks: - proxy-net environment: - - AUTH_ENABLED=false - # - DEFAULT_USERNAME=admin - # - DEFAULT_PASSWORD=admin + - AUTH_ENABLED=${AUTH_ENABLED} + #Set to true to require login. The Docker image defaults to true. + + - DEFAULT_USERNAME=${DEFAULT_USERNAME} + #Username for the initial admin account. Only used on first run. + + - DEFAULT_PASSWORD=${DEFAULT_PASSWORD} + #Password for the initial admin account. Change this after first login. + + - MAX_USERS=${MAX_USERS} + # Maximum number of registered user accounts. Set to 0 for unlimited. + + - SESSION_DURATION_HOURS=${SESSION_DURATION_HOURS} + #Login session lifetime in hours (default is 7 days). + restart: unless-stopped labels: - "traefik.enable=true"