compose refactor
gitea/salix/master There was a failure building this commit Details
gitea/salix/test There was a failure building this commit Details

This commit is contained in:
Juan Ferrer 2019-12-31 14:53:28 +01:00
parent c8cff581e1
commit 7a17532de5
1 changed files with 8 additions and 8 deletions

View File

@ -17,13 +17,13 @@ services:
environment: environment:
- NODE_ENV - NODE_ENV
configs: configs:
- source: salix_datasources - source: datasources
target: /etc/salix/datasources.json target: /etc/salix/datasources.json
- source: salix-branch_datasources - source: datasources_local
target: /etc/salix/datasources.local.json target: /etc/salix/datasources.local.json
- source: salix_print - source: print
target: /etc/salix/print.json target: /etc/salix/print.json
- source: salix-branch_print - source: print_local
target: /etc/salix/print.local.json target: /etc/salix/print.local.json
volumes: volumes:
- /mnt/storage/pdfs:/var/lib/salix/pdfs - /mnt/storage/pdfs:/var/lib/salix/pdfs
@ -31,13 +31,13 @@ services:
deploy: deploy:
replicas: 6 replicas: 6
configs: configs:
salix_datasources: datasources:
external: true external: true
salix-branch_datasources: datasources_local:
external: true external: true
name: salix-${BRANCH_NAME:?}_datasources name: salix-${BRANCH_NAME:?}_datasources
salix_print: print:
external: true external: true
salix-branch_print: print_local:
external: true external: true
name: salix-${BRANCH_NAME:?}_print name: salix-${BRANCH_NAME:?}_print