compose refactor
This commit is contained in:
parent
c8cff581e1
commit
7a17532de5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue