Removed ports; added volumes for backups and images

This commit is contained in:
William Miceli
2019-05-17 22:23:25 -04:00
parent d28c3c2c3d
commit 2e98dfa33b

View File

@@ -23,10 +23,9 @@ services:
traefik.frontend.rule: Host:${TRAEFIK_HOST} traefik.frontend.rule: Host:${TRAEFIK_HOST}
traefik.port: "80" traefik.port: "80"
### End Grav Segment ### End Grav Segment
ports:
- "80:80"
restart: on-failure restart: on-failure
volumes: volumes:
- /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system - /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 - /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
# - /Rancher/${DATA_DIR}/Backups:/ # Backups - /Rancher/${DATA_DIR}/Backups:/var/www/backup # Backups
- /Rancher/${DATA_DIR}/Images:/var/www/images # Images