From 1df3b464547736dac5e1b8f81ad46cc6a6d37f47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20M=C3=B6hlmann?= Date: Sun, 16 Dec 2018 23:11:43 +0200 Subject: [PATCH] Use ADDRESS instead of HOSTNAME --- setup/.env | 2 +- setup/docker-compose.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/setup/.env b/setup/.env index 47db5c89..9a8293fe 100644 --- a/setup/.env +++ b/setup/.env @@ -1,5 +1,5 @@ # Hostname passed to Traefik -HOSTNAME=setup.mailu.io +ADDRESS=setup.mailu.io # Current release RELEASE=test diff --git a/setup/docker-compose.yml b/setup/docker-compose.yml index 5a16e5b5..7c31d2cd 100644 --- a/setup/docker-compose.yml +++ b/setup/docker-compose.yml @@ -16,7 +16,7 @@ services: labels: - traefik.enable=true - traefik.port=80 - - traefik.main.frontend.rule=Host:${HOSTNAME};PathPrefix:/master/ + - traefik.main.frontend.rule=Host:${ADDRESS};PathPrefix:/master/ depends_on: - redis @@ -32,8 +32,8 @@ services: - traefik.port=80 - traefik.root.frontend.redirect.regex=.* - traefik.root.frontend.redirect.replacement=/${RELEASE}/ - - traefik.root.frontend.rule=Host:${HOSTNAME};PathPrefix:/ - - traefik.main.frontend.rule=Host:${HOSTNAME};PathPrefix:/${RELEASE}/ + - traefik.root.frontend.rule=Host:${ADDRESS};PathPrefix:/ + - traefik.main.frontend.rule=Host:${ADDRESS};PathPrefix:/${RELEASE}/ depends_on: - redis