Explorar el Código

Merge pull request #303 from bnap00/fix/timezone-env-variable

Fix: Use TZ from .env instead of hardcoded value
MartinNYHC hace 7 meses
padre
commit
ad6cc7cd03
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      docker-compose.yml

+ 1 - 1
docker-compose.yml

@@ -34,7 +34,7 @@ services:
       # This ensures the slicer only needs to trust one CA certificate.
       - ./virtual_printer:/app/data/virtual_printer
     environment:
-      - TZ=Europe/Berlin
+      - TZ=${TZ:-Europe/Berlin}
       # Port BamBuddy runs on (default: 8000)
       # Usage: PORT=8080 docker compose up -d
       - PORT=${PORT:-8000}