From 7a17532de5989f9967c4b945bc5982a5601df47b Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Tue, 31 Dec 2019 14:53:28 +0100 Subject: [PATCH] compose refactor --- docker-compose.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 4ce6ff18c..5a7777e5c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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