Docker compose fixes
gitea/salix/test There was a failure building this commit Details

This commit is contained in:
Juan Ferrer 2019-12-23 12:23:30 +01:00
parent 1565bc3a92
commit 54b8aa7c83
1 changed files with 9 additions and 7 deletions

View File

@ -24,11 +24,11 @@ services:
configs: configs:
- source: salix_datasources - source: salix_datasources
target: /etc/salix/datasources.json target: /etc/salix/datasources.json
- source: salix-${BRANCH_NAME}_datasources
target: /etc/salix/datasources.${NODE_ENV}.json
- source: salix_print - source: salix_print
target: /etc/salix/print.json target: /etc/salix/print.json
- source: salix-${BRANCH_NAME}_print - source: salix-branch_datasources
target: /etc/salix/datasources.${NODE_ENV}.json
- source: salix-branch_print
target: /etc/salix/print.${NODE_ENV}.json target: /etc/salix/print.${NODE_ENV}.json
volumes: volumes:
- /mnt/storage/pdfs:/var/lib/salix/pdfs - /mnt/storage/pdfs:/var/lib/salix/pdfs
@ -38,9 +38,11 @@ services:
configs: configs:
salix_datasources: salix_datasources:
external: true external: true
salix-${BRANCH_NAME}_datasources:
external: true
salix_print: salix_print:
external: true external: true
salix-${BRANCH_NAME}_print: salix-branch_datasources:
external: true external:
name: salix-${BRANCH_NAME}_datasources
salix-branch_print:
external:
name: salix-${BRANCH_NAME}_print