Modified persistent data directories

This commit is contained in:
WilliamMiceli
2018-12-18 23:36:26 -05:00
parent d3e3c69b37
commit 925bbd5b94

View File

@@ -16,9 +16,9 @@ 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
- /RancherCattleConfig/${DATA_DIR}/.env:/var/www/app/.env - /RancherCattle/${DATA_DIR}/Configuration/.env:/var/www/app/.env
- /RancherCattleData/${DATA_DIR}/Logo:/var/www/app/public/logo - /RancherCattle/${DATA_DIR}/Logo:/var/www/app/public/logo
- /RancherCattleData/${DATA_DIR}/Storage:/var/www/app/storage - /RancherCattle/${DATA_DIR}/Storage:/var/www/app/storage
cron: cron:
image: invoiceninja/invoiceninja:latest image: invoiceninja/invoiceninja:latest
dns: dns:
@@ -64,7 +64,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 # Alpine does not work (last checked 6 December 2018) image: nginx # Alpine does not work (last checked 6 December 2018)
dns: dns:
@@ -96,7 +96,7 @@ services:
- "${WEB_PORT}:80" - "${WEB_PORT}:80"
restart: on-failure restart: on-failure
volumes: volumes:
- /RancherCattleConfig/${DATA_DIR}/nginx.conf:/etc/nginx/nginx.conf:ro - /RancherCattle/${DATA_DIR}/Configuration/nginx.conf:/etc/nginx/nginx.conf:ro
volumes_from: volumes_from:
- invoiceninja - invoiceninja