Added time sync with host to some templates

This commit is contained in:
William Miceli
2019-05-15 09:37:51 -04:00
parent c46b373762
commit b74bf09c04
3 changed files with 15 additions and 2 deletions

View File

@@ -32,6 +32,9 @@ services:
### End Hubot Segment
links:
- 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:
image: mongo:latest
dns: # Using Cloudflare DNS
@@ -44,6 +47,8 @@ services:
{{- end}}
traefik.enable: false
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/Dump:/dump
command: mongod --smallfiles
@@ -74,4 +79,7 @@ services:
traefik.rocketchat.port: "3000"
### End RocketChat Segment
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