Volume fixes

This commit is contained in:
WilliamMiceli
2018-03-20 22:31:45 -04:00
parent 431f81080c
commit 8ad8426ed9
2 changed files with 6 additions and 1 deletions

View File

@@ -48,6 +48,9 @@ services:
- DB_PASSWORD=${DB_PASSWORD} - DB_PASSWORD=${DB_PASSWORD}
links: links:
- db:mysql - db:mysql
volumes:
- ${VOLUME_LOGO}:/var/www/app/public/logo:nocopy
- ${VOLUME_STORAGE}:/var/www/app/storage:nocopy
db: db:
image: mysql image: mysql
environment: environment:
@@ -72,5 +75,7 @@ services:
ports: ports:
- 8000:80 - 8000:80
volumes: volumes:
- ${VOLUME_LOGO}:/var/www/app/public/logo:nocopy
- ${VOLUME_STORAGE}:/var/www/app/storage:nocopy
- ${VOLUME_WEB}:/etc/nginx/nginx.conf:ro - ${VOLUME_WEB}:/etc/nginx/nginx.conf:ro
volumes_driver: rancher-nfs volumes_driver: rancher-nfs

View File

@@ -43,7 +43,7 @@ catalog:
label: "Persistent Web Server Storage Volume" label: "Persistent Web Server Storage Volume"
description: | description: |
The volume name that should be used for persistent storage The volume name that should be used for persistent storage
default: "InvoiceNinja-Data" default: "InvoiceNinja-Web"
required: true required: true
type: string type: string
- variable: "DB_DATABASE" - variable: "DB_DATABASE"