Compare commits

...

1 Commits

Author SHA1 Message Date
48fb9ef247
Fix: Container has timezone always set to UTC
All checks were successful
Build and deploy automation_rs / Build (push) Successful in 4m35s
Build and deploy automation_rs / Create container (push) Successful in 48s
Build and deploy automation_rs / Deploy Docker container (push) Successful in 40s
This became an issue once schedules where added, as they would run at
the wrong time.
In order to fix it the host's timezone information is mounted.
2023-11-23 01:24:07 +01:00

View File

@ -87,6 +87,7 @@ jobs:
--pull always \ --pull always \
--restart unless-stopped \ --restart unless-stopped \
--name automation_rs \ --name automation_rs \
-e TZ=Europe/Amsterdam \
-e RUST_LOG=automation=debug \ -e RUST_LOG=automation=debug \
-e MQTT_PASSWORD=${{ secrets.MQTT_PASSWORD }} \ -e MQTT_PASSWORD=${{ secrets.MQTT_PASSWORD }} \
-e HUE_TOKEN=${{ secrets.HUE_TOKEN }} \ -e HUE_TOKEN=${{ secrets.HUE_TOKEN }} \