diff --git a/templates/Snipe-IT/0/docker-compose.yml b/templates/Snipe-IT/0/docker-compose.yml index c0012db..758e9bd 100644 --- a/templates/Snipe-IT/0/docker-compose.yml +++ b/templates/Snipe-IT/0/docker-compose.yml @@ -52,9 +52,8 @@ services: {{- end}} restart: on-failure volumes: - {{- if eq .Values.HOST_TIME "true"}} + - /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 - {{- end}} - /RancherCattleData/${DATA_DIR}/Application:/var/lib/snipeit - /RancherCattleData/${DATA_DIR}/Backups:/var/www/html/storage/app/backups mysql: @@ -74,6 +73,7 @@ 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 diff --git a/templates/Snipe-IT/0/rancher-compose.yml b/templates/Snipe-IT/0/rancher-compose.yml index 72086d7..05a87e5 100644 --- a/templates/Snipe-IT/0/rancher-compose.yml +++ b/templates/Snipe-IT/0/rancher-compose.yml @@ -63,12 +63,4 @@ catalog: description: | A random 32-Character string which will be used for encryption. required: true - type: password - - - variable: "HOST_TIME" - label: "Use Host's Date/Time" - description: | - Use the host's date and time for the container. - default: true - required: true - type: boolean \ No newline at end of file + type: password \ No newline at end of file