diff --git a/docker-compose.yml b/docker-compose.yml index ab421909c..01aaa3997 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,18 +2,19 @@ version: '3.5' services: front: image: registry.verdnatura.es/salix-front:${TAG} - restart: unless-stopped build: context: . dockerfile: front/Dockerfile ports: - ${PORT_FRONT}:80 - links: - - back deploy: replicas: 3 back: image: registry.verdnatura.es/salix-back:${TAG} + restart_policy: + condition: on-failure + delay: 5s + max_attempts: 3 restart: unless-stopped build: . ports: @@ -34,3 +35,12 @@ services: - /mnt/storage/dms:/var/lib/salix/dms deploy: replicas: 6 +configs: + salix_datasources: + external: true + salix-${BRANCH_NAME}_datasources: + external: true + salix_print: + external: true + salix-${BRANCH_NAME}_print: + external: true