Define external web network for Traefik connections

master
Tim Möhlmann 6 years ago
parent db9a3787b1
commit 8ef0493f53
No known key found for this signature in database
GPG Key ID: 8677988D8072E8DE

@ -8,6 +8,8 @@ services:
setup_master: setup_master:
image: mailu/setup:master image: mailu/setup:master
networks:
- web
env_file: .env env_file: .env
environment: environment:
this_version: "master" this_version: "master"
@ -20,6 +22,8 @@ services:
setup_release: setup_release:
image: mailu/setup:${RELEASE} image: mailu/setup:${RELEASE}
networks:
- web
env_file: .env env_file: .env
environment: environment:
this_version: ${RELEASE} this_version: ${RELEASE}
@ -32,3 +36,7 @@ services:
- traefik.main.frontend.rule=Host:${HOSTNAME};PathPrefix:/${RELEASE}/ - traefik.main.frontend.rule=Host:${HOSTNAME};PathPrefix:/${RELEASE}/
depends_on: depends_on:
- redis - redis
networks:
web:
external: true

Loading…
Cancel
Save