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