Use ADDRESS instead of HOSTNAME

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

@ -1,5 +1,5 @@
# Hostname passed to Traefik
HOSTNAME=setup.mailu.io
ADDRESS=setup.mailu.io
# Current release
RELEASE=test

@ -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

Loading…
Cancel
Save