Added time sync and nginx:alpine tag, fixed questions

This commit is contained in:
WilliamMiceli
2018-12-06 15:41:17 -05:00
parent 929ac4fc10
commit 81f9135af2
2 changed files with 21 additions and 1 deletions

View File

@@ -14,6 +14,8 @@ services:
- mysql
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
- /RancherCattleConfig/${DATA_DIR}/.env:/var/www/app/.env
- /RancherCattleData/${DATA_DIR}/Logo:/var/www/app/public/logo
- /RancherCattleData/${DATA_DIR}/Storage:/var/www/app/storage
@@ -60,9 +62,11 @@ services:
traefik.enable: false
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
nginx:
image: nginx
image: nginx:alpine
dns:
- 1.1.1.1
- 1.0.0.1