Volume fixes
This commit is contained in:
@@ -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
|
||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user