This commit is contained in:
WilliamMiceli
2018-03-20 22:18:25 -04:00
parent 1511449579
commit 03aa631f31
2 changed files with 8 additions and 5 deletions

View File

@@ -48,8 +48,6 @@ services:
- DB_PASSWORD=${DB_PASSWORD}
links:
- db:mysql
volumes_from:
- invoiceninja
db:
image: mysql
environment:
@@ -74,7 +72,5 @@ services:
ports:
- 8000:80
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
volumes_from:
- invoiceninja
- ${VOLUME_WEB}:/etc/nginx/nginx.conf:ro
volumes_driver: rancher-nfs

View File

@@ -39,6 +39,13 @@ catalog:
default: "InvoiceNinja-Data"
required: true
type: string
- variable: "VOLUME_WEB"
label: "Persistent Web Server Storage Volume"
description: |
The volume name that should be used for persistent storage
default: "InvoiceNinja-Data"
required: true
type: string
- variable: "DB_DATABASE"
label: "Name of the database"
description: |