fix host rules

Signed-off-by: MiniDigger <admin@minidigger.me>
This commit is contained in:
MiniDigger 2021-04-05 17:10:15 +02:00
parent d7c3cd1073
commit 6ad7a329e7

View File

@ -13,12 +13,12 @@ services:
proxyHost: "http://hangar_new_backend:8080"
authHost: "http://hangar_new_auth:8000"
host: "0.0.0.0"
PUBLIC_HOST: "https://hangar-new.minidigger.me"
PUBLIC_HOST: "https://hangar.benndorf.dev"
stdin_open: true
labels:
- "traefik.enable=true"
- "traefik.http.services.hangar-new.loadbalancer.server.port=3000"
- "traefik.http.routers.hangar-new.rule=Host(`hangar-new.minidigger.me`) || Host=(`hangar.benndorf.dev`)"
- "traefik.http.routers.hangar-new.rule=Host(`hangar-new.minidigger.me`) || Host(`hangar.benndorf.dev`)"
- "traefik.http.routers.hangar-new.entrypoints=web-secure"
- "traefik.http.routers.hangar-new.tls=true"
- "traefik.http.routers.hangar-new.tls.options=default"
@ -65,7 +65,7 @@ services:
- "traefik.enable=true"
- "traefik.http.services.hangar-new-mail.loadbalancer.server.port=8025"
- "traefik.http.routers.hangar-new-mail.middlewares=basicauth@file"
- "traefik.http.routers.hangar-new-mail.rule=Host(`hangar-new-mail.minidigger.me`) || Host=(`hangar-mail.benndorf.dev`)"
- "traefik.http.routers.hangar-new-mail.rule=Host(`hangar-new-mail.minidigger.me`) || Host(`hangar-mail.benndorf.dev`)"
- "traefik.http.routers.hangar-new-mail.entrypoints=web-secure"
- "traefik.http.routers.hangar-new-mail.tls=true"
- "traefik.http.routers.hangar-new-mail.tls.options=default"
@ -81,7 +81,7 @@ services:
labels:
- "traefik.enable=true"
- "traefik.http.services.hangar-new-auth.loadbalancer.server.port=8000"
- "traefik.http.routers.hangar-new-auth.rule=Host(`hangar-new-auth.minidigger.me`) || Host=(`hangar-auth.benndorf.dev`)"
- "traefik.http.routers.hangar-new-auth.rule=Host(`hangar-new-auth.minidigger.me`) || Host(`hangar-auth.benndorf.dev`)"
- "traefik.http.routers.hangar-new-auth.entrypoints=web-secure"
- "traefik.http.routers.hangar-new-auth.tls=true"
- "traefik.http.routers.hangar-new-auth.tls.options=default"
@ -96,7 +96,7 @@ services:
EMAIL_TLS: "false"
EMAIL_HOST_USER: "dum"
EMAIL_HOST_PASSWORD: "dum"
HANGAR_HOST: "https://hangar.minidigger.me"
HANGAR_HOST: "https://hangar.benndorf.dev"
DB_NAME: "hangarauth"
DB_USER: "hangar"
DB_PASSWORD: "hangar"