From 8ad8426ed931df14199a497fc8aa149ddf149b7c Mon Sep 17 00:00:00 2001 From: WilliamMiceli <9000802+WilliamMiceli@users.noreply.github.com> Date: Tue, 20 Mar 2018 22:31:45 -0400 Subject: [PATCH] Volume fixes --- templates/invoice-ninja/0/docker-compose.yml | 5 +++++ templates/invoice-ninja/0/rancher-compose.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/invoice-ninja/0/docker-compose.yml b/templates/invoice-ninja/0/docker-compose.yml index 83f2537..5504635 100644 --- a/templates/invoice-ninja/0/docker-compose.yml +++ b/templates/invoice-ninja/0/docker-compose.yml @@ -48,6 +48,9 @@ services: - DB_PASSWORD=${DB_PASSWORD} links: - db:mysql + volumes: + - ${VOLUME_LOGO}:/var/www/app/public/logo:nocopy + - ${VOLUME_STORAGE}:/var/www/app/storage:nocopy db: image: mysql environment: @@ -72,5 +75,7 @@ services: ports: - 8000:80 volumes: + - ${VOLUME_LOGO}:/var/www/app/public/logo:nocopy + - ${VOLUME_STORAGE}:/var/www/app/storage:nocopy - ${VOLUME_WEB}:/etc/nginx/nginx.conf:ro volumes_driver: rancher-nfs \ No newline at end of file diff --git a/templates/invoice-ninja/0/rancher-compose.yml b/templates/invoice-ninja/0/rancher-compose.yml index d8a9750..5c36fd0 100644 --- a/templates/invoice-ninja/0/rancher-compose.yml +++ b/templates/invoice-ninja/0/rancher-compose.yml @@ -43,7 +43,7 @@ catalog: label: "Persistent Web Server Storage Volume" description: | The volume name that should be used for persistent storage - default: "InvoiceNinja-Data" + default: "InvoiceNinja-Web" required: true type: string - variable: "DB_DATABASE"