Modified persistent data directories
This commit is contained in:
@@ -16,9 +16,9 @@ services:
|
||||
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
|
||||
- /RancherCattle/${DATA_DIR}/Configuration/.env:/var/www/app/.env
|
||||
- /RancherCattle/${DATA_DIR}/Logo:/var/www/app/public/logo
|
||||
- /RancherCattle/${DATA_DIR}/Storage:/var/www/app/storage
|
||||
cron:
|
||||
image: invoiceninja/invoiceninja:latest
|
||||
dns:
|
||||
@@ -64,7 +64,7 @@ services:
|
||||
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
|
||||
- /RancherCattle/${DATA_DIR}/Database:/var/lib/mysql
|
||||
nginx:
|
||||
image: nginx # Alpine does not work (last checked 6 December 2018)
|
||||
dns:
|
||||
@@ -96,7 +96,7 @@ services:
|
||||
- "${WEB_PORT}:80"
|
||||
restart: on-failure
|
||||
volumes:
|
||||
- /RancherCattleConfig/${DATA_DIR}/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
- /RancherCattle/${DATA_DIR}/Configuration/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
volumes_from:
|
||||
- invoiceninja
|
||||
|
||||
|
||||
Reference in New Issue
Block a user