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

View File

@@ -39,6 +39,13 @@ catalog:
default: "InvoiceNinja-Data" default: "InvoiceNinja-Data"
required: true required: true
type: string 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" - variable: "DB_DATABASE"
label: "Name of the database" label: "Name of the database"
description: | description: |