Sync host timezone

This commit is contained in:
WilliamMiceli
2018-12-05 22:34:50 -05:00
parent 4390817f89
commit f3515a843c

View File

@@ -53,7 +53,7 @@ services:
restart: on-failure
volumes:
{{- if eq .Values.HOST_TIME "true"}}
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
{{- end}}
- /RancherCattleData/${DATA_DIR}/Application:/var/lib/snipeit
- /RancherCattleData/${DATA_DIR}/Backups:/var/www/html/storage/app/backups
@@ -74,6 +74,7 @@ services:
{{- end}}
restart: on-failure
volumes:
- /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
- /RancherCattleData/${DATA_DIR}/Database:/var/lib/mysql
networks: