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