1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-11-27 22:18:22 +02:00

Fix the traefik labels in the compose configuration

This commit is contained in:
kaiyou
2017-09-16 19:24:55 +02:00
parent a138bed95e
commit 00d09cf386

View File

@@ -90,9 +90,10 @@ services:
image: mailu/admin:$VERSION image: mailu/admin:$VERSION
labels: labels:
- traefik.enable=true - traefik.enable=true
- traefik.frontend.rule=Host:$HOSTNAME;PathPrefix:/admin/ - traefik.admin.frontend.rule=Host:$HOSTNAME;PathPrefix:/admin/
- traefik.root.frontend.rule=Host:$HOSTNAME;Path:/ - traefik.admin.port=80
- traefik.port=80 - traefik.home.frontend.rule=Host:$HOSTNAME;Path:/
- traefik.home.port=80
restart: always restart: always
env_file: .env env_file: .env
ports: ports: