Added option for service to use host's time

This commit is contained in:
WilliamMiceli
2018-11-19 17:26:49 -05:00
parent e4bb26a8d0
commit 4390817f89
2 changed files with 12 additions and 1 deletions

View File

@@ -52,6 +52,9 @@ services:
{{- end}}
restart: on-failure
volumes:
{{- if eq .Values.HOST_TIME "true"}}
- /etc/localtime:/etc/localtime:ro
{{- end}}
- /RancherCattleData/${DATA_DIR}/Application:/var/lib/snipeit
- /RancherCattleData/${DATA_DIR}/Backups:/var/www/html/storage/app/backups
mysql:

View File

@@ -64,3 +64,11 @@ catalog:
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