This commit is contained in:
WilliamMiceli
2019-01-12 21:01:15 -05:00
parent a65472858f
commit 6ab37e8263

View File

@@ -15,8 +15,12 @@ services:
links: links:
- mysql - mysql
restart: on-failure restart: on-failure
volumes_from: volumes:
- nginx - /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
- /RancherCattle/${DATA_DIR}/Configuration/Invoice Ninja/.env:/var/www/app/.env
- /RancherCattle/${DATA_DIR}/Logo:/var/www/app/public/logo
- /RancherCattle/${DATA_DIR}/Storage:/var/www/app/storage
cron: cron:
image: invoiceninja/invoiceninja:latest image: invoiceninja/invoiceninja:latest
dns: dns:
@@ -42,7 +46,7 @@ services:
- mysql - mysql
restart: on-failure restart: on-failure
volumes_from: volumes_from:
- nginx - invoiceninja
mysql: mysql:
image: mysql:5 image: mysql:5
dns: dns:
@@ -63,7 +67,7 @@ services:
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
- /RancherCattleData/${DATA_DIR}/Database:/var/lib/mysql - /RancherCattle/${DATA_DIR}/Database:/var/lib/mysql
nginx: nginx:
image: nginx image: nginx
dns: dns:
@@ -90,9 +94,6 @@ services:
- invoiceninja - invoiceninja
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
- /RancherCattle/${DATA_DIR}/Configuration/NGINX/nginx.conf:/etc/nginx/nginx.conf:ro - /RancherCattle/${DATA_DIR}/Configuration/NGINX/nginx.conf:/etc/nginx/nginx.conf:ro
- /RancherCattle/${DATA_DIR}/Configuration/Invoice Ninja/.env:/var/www/app/.env volumes_from:
- /RancherCattle/${DATA_DIR}/Logo:/var/www/app/public/logo - invoiceninja
- /RancherCattle/${DATA_DIR}/Storage:/var/www/app/storage