diff --git a/templates/HTTPD/0/docker-compose.yml b/templates/HTTPD/0/docker-compose.yml index 94d7a57..964dd86 100644 --- a/templates/HTTPD/0/docker-compose.yml +++ b/templates/HTTPD/0/docker-compose.yml @@ -33,6 +33,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 {{- if eq .Values.PERSIST_CONF "true"}} - /Rancher/${DATA_DIR}/Configuration:/usr/local/apache2/conf {{- end}} diff --git a/templates/PHPMyAdmin/0/docker-compose.yml b/templates/PHPMyAdmin/0/docker-compose.yml index d9b41f0..084997f 100644 --- a/templates/PHPMyAdmin/0/docker-compose.yml +++ b/templates/PHPMyAdmin/0/docker-compose.yml @@ -35,4 +35,7 @@ services: traefik.web.frontend.rule: Host:${TRAEFIK_HOST} traefik.web.port: "80" ### End Web Segment - restart: on-failure \ No newline at end of file + 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 \ No newline at end of file diff --git a/templates/RocketChat/0/docker-compose.yml b/templates/RocketChat/0/docker-compose.yml index 21cb2b5..e9d8479 100644 --- a/templates/RocketChat/0/docker-compose.yml +++ b/templates/RocketChat/0/docker-compose.yml @@ -32,6 +32,9 @@ services: ### End Hubot Segment links: - rocketchat:rocketchat + 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 mongo: image: mongo:latest dns: # Using Cloudflare DNS @@ -44,6 +47,8 @@ services: {{- end}} traefik.enable: false 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 - /Rancher/${DATA_DIR}/Database/Data:/data/db - /Rancher/${DATA_DIR}/Database/Dump:/dump command: mongod --smallfiles @@ -74,4 +79,7 @@ services: traefik.rocketchat.port: "3000" ### End RocketChat Segment links: - - mongo:mongo \ No newline at end of file + - mongo:mongo + 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 \ No newline at end of file