From 723e57e88abb089de557a0b95c78c063db2e6712 Mon Sep 17 00:00:00 2001 From: WilliamMiceli Date: Wed, 5 Dec 2018 22:39:06 -0500 Subject: [PATCH] Sync time and timezone with host --- templates/Traefik/0/docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/Traefik/0/docker-compose.yml b/templates/Traefik/0/docker-compose.yml index 1f74b51..05ce5bc 100644 --- a/templates/Traefik/0/docker-compose.yml +++ b/templates/Traefik/0/docker-compose.yml @@ -25,6 +25,8 @@ services: restart: always volumes: - /var/run/docker.sock:/var/run/docker.sock + - /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system + - /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system - /RancherCattleConfig/${DATA_DIR}/traefik.toml:/traefik.toml - /RancherCattleConfig/${DATA_DIR}/acme:/etc/traefik/acme # For Let's Encrypt certificates - /RancherCattleConfig/${DATA_DIR}/logs:/external/logs