Added time sync with host to some templates
This commit is contained in:
@@ -33,6 +33,8 @@ 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
|
||||||
{{- if eq .Values.PERSIST_CONF "true"}}
|
{{- if eq .Values.PERSIST_CONF "true"}}
|
||||||
- /Rancher/${DATA_DIR}/Configuration:/usr/local/apache2/conf
|
- /Rancher/${DATA_DIR}/Configuration:/usr/local/apache2/conf
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
|||||||
@@ -36,3 +36,6 @@ services:
|
|||||||
traefik.web.port: "80"
|
traefik.web.port: "80"
|
||||||
### End Web Segment
|
### End Web Segment
|
||||||
restart: on-failure
|
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
|
||||||
@@ -32,6 +32,9 @@ services:
|
|||||||
### End Hubot Segment
|
### End Hubot Segment
|
||||||
links:
|
links:
|
||||||
- rocketchat:rocketchat
|
- 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:
|
mongo:
|
||||||
image: mongo:latest
|
image: mongo:latest
|
||||||
dns: # Using Cloudflare DNS
|
dns: # Using Cloudflare DNS
|
||||||
@@ -44,6 +47,8 @@ services:
|
|||||||
{{- end}}
|
{{- end}}
|
||||||
traefik.enable: false
|
traefik.enable: false
|
||||||
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
|
||||||
- /Rancher/${DATA_DIR}/Database/Data:/data/db
|
- /Rancher/${DATA_DIR}/Database/Data:/data/db
|
||||||
- /Rancher/${DATA_DIR}/Database/Dump:/dump
|
- /Rancher/${DATA_DIR}/Database/Dump:/dump
|
||||||
command: mongod --smallfiles
|
command: mongod --smallfiles
|
||||||
@@ -75,3 +80,6 @@ services:
|
|||||||
### End RocketChat Segment
|
### End RocketChat Segment
|
||||||
links:
|
links:
|
||||||
- mongo:mongo
|
- 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
|
||||||
Reference in New Issue
Block a user