Fix: Container has timezone always set to UTC
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.
This commit is contained in:
@@ -87,6 +87,7 @@ jobs:
|
|||||||
--pull always \
|
--pull always \
|
||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
--name automation_rs \
|
--name automation_rs \
|
||||||
|
-v /etc/localtime:/etc/localtime:ro \
|
||||||
-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 }} \
|
||||||
|
|||||||
Reference in New Issue
Block a user