From 8ef0493f53913c1a08950ce50b5312ec11458330 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20M=C3=B6hlmann?= Date: Sun, 16 Dec 2018 23:05:03 +0200 Subject: [PATCH] Define external web network for Traefik connections --- setup/docker-compose.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/setup/docker-compose.yml b/setup/docker-compose.yml index 317f9fd2..5a16e5b5 100644 --- a/setup/docker-compose.yml +++ b/setup/docker-compose.yml @@ -8,6 +8,8 @@ services: setup_master: image: mailu/setup:master + networks: + - web env_file: .env environment: this_version: "master" @@ -20,6 +22,8 @@ services: setup_release: image: mailu/setup:${RELEASE} + networks: + - web env_file: .env environment: this_version: ${RELEASE} @@ -32,3 +36,7 @@ services: - traefik.main.frontend.rule=Host:${HOSTNAME};PathPrefix:/${RELEASE}/ depends_on: - redis + +networks: + web: + external: true