From 925bbd5b943cc53ae7f666dcfb6c49ab469a7987 Mon Sep 17 00:00:00 2001 From: WilliamMiceli Date: Tue, 18 Dec 2018 23:36:26 -0500 Subject: [PATCH] Modified persistent data directories --- templates/InvoiceNinja/0/docker-compose.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/InvoiceNinja/0/docker-compose.yml b/templates/InvoiceNinja/0/docker-compose.yml index a6d99cf..a9a32f1 100644 --- a/templates/InvoiceNinja/0/docker-compose.yml +++ b/templates/InvoiceNinja/0/docker-compose.yml @@ -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