Sync time and timezone with host
This commit is contained in:
@@ -36,6 +36,8 @@ services:
|
|||||||
- "${WEB_PORT}:80"
|
- "${WEB_PORT}:80"
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
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}/Application:/usr/local/apache2/htdocs
|
- /RancherCattleData/${DATA_DIR}/Application:/usr/local/apache2/htdocs
|
||||||
# - /RancherCattleConfig/${DATA_DIR}/httpd:/usr/local/apache2/conf
|
# - /RancherCattleConfig/${DATA_DIR}/httpd:/usr/local/apache2/conf
|
||||||
- /RancherCattleData/${DATA_DIR}/Application:/var/www/html
|
- /RancherCattleData/${DATA_DIR}/Application:/var/www/html
|
||||||
@@ -81,6 +83,7 @@ services:
|
|||||||
{{- end}}
|
{{- end}}
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
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
|
- /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
|
||||||
- /RancherCattleData/${DATA_DIR}/Database:/var/lib/mysql
|
- /RancherCattleData/${DATA_DIR}/Database:/var/lib/mysql
|
||||||
{{- if eq .Values.REDIS "true"}}
|
{{- if eq .Values.REDIS "true"}}
|
||||||
|
|||||||
Reference in New Issue
Block a user