traefik naming

This commit is contained in:
Steven Foerster
2021-03-01 21:02:55 -05:00
parent 4e27a0c261
commit cc8032e6ce
+8 -8
View File
@@ -16,14 +16,14 @@ services:
- /var/run/suricata-command.socket:/var/run/suricata-command.socket
labels:
- "traefik.enable=true"
- "traefik.http.routers.homeassistant-http.rule=Host(`suricata.mistborn`)"
- "traefik.http.routers.homeassistant-http.entrypoints=web"
- "traefik.http.routers.homeassistant-http.middlewares=mistborn_auth@file"
- "traefik.http.routers.homeassistant-https.rule=Host(`suricata.mistborn`)"
- "traefik.http.routers.homeassistant-https.entrypoints=websecure"
- "traefik.http.routers.homeassistant-https.middlewares=mistborn_auth@file"
- "traefik.http.routers.homeassistant-https.tls.certresolver=basic"
- "traefik.http.services.homeassistant-service.loadbalancer.server.port=8000"
- "traefik.http.routers.scirius-http.rule=Host(`suricata.mistborn`)"
- "traefik.http.routers.scirius-http.entrypoints=web"
- "traefik.http.routers.scirius-http.middlewares=mistborn_auth@file"
- "traefik.http.routers.scirius-https.rule=Host(`suricata.mistborn`)"
- "traefik.http.routers.scirius-https.entrypoints=websecure"
- "traefik.http.routers.scirius-https.middlewares=mistborn_auth@file"
- "traefik.http.routers.scirius-https.tls.certresolver=basic"
- "traefik.http.services.scirius-service.loadbalancer.server.port=8000"
restart: unless-stopped
networks: