This commit is contained in:
William Miceli
2018-03-27 13:03:30 -04:00
parent 3e1e0b4df7
commit 902f2ccad2
2 changed files with 12 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
version: '2' version: '2'
services: services:
invoiceninja: app:
image: invoiceninja/invoiceninja image: invoiceninja/invoiceninja
labels: labels:
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL_KEY}=${HOST_LABEL_VALUE} io.rancher.scheduler.affinity:host_label: ${HOST_LABEL_KEY}=${HOST_LABEL_VALUE}
@@ -26,7 +26,7 @@ services:
networks: networks:
- ninja-net - ninja-net
volumes_from: volumes_from:
- invoiceninja - app
db: db:
image: mysql image: mysql
restart: always restart: always
@@ -37,16 +37,16 @@ services:
networks: networks:
- ninja-net - ninja-net
ports: ports:
- "8000:80" - 8000:80
# volumes: volumes:
# - type: volume - type: 'volume'
# source: ${VOLUME_WEB} source: ${VOLUME_WEB}
# target: /etc/nginx/nginx.conf target: /etc/nginx/nginx.conf
# read_only: true read_only: true
# volume: volume:
# nocopy: true nocopy: true
volumes_from: volumes_from:
- invoiceninja - app
environment: environment:
- APP_DEBUG=0 - APP_DEBUG=0
- APP_ENV='production' - APP_ENV='production'

View File

@@ -81,5 +81,5 @@ catalog:
default: "SomeRandomStringSomeRandomString" default: "SomeRandomStringSomeRandomString"
required: true required: true
type: string type: string
invoiceninja: app:
scale: 1 scale: 1