From c8de0ea099fb0ae490b09ba78ad5b389ad6b76fd Mon Sep 17 00:00:00 2001 From: WilliamMiceli Date: Wed, 5 Dec 2018 22:37:19 -0500 Subject: [PATCH] Sync time and timezone with host --- templates/WordPress/0/docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/WordPress/0/docker-compose.yml b/templates/WordPress/0/docker-compose.yml index 7c077d6..223b839 100644 --- a/templates/WordPress/0/docker-compose.yml +++ b/templates/WordPress/0/docker-compose.yml @@ -54,6 +54,8 @@ services: {{- end}} restart: on-failure volumes: + - /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 - /RancherCattleData/${DATA_DIR}/Database:/var/lib/mysql networks: