Remove unneeded labels and containers after moving to traefik
This commit is contained in:
parent
cacf752385
commit
eb1321303c
12 changed files with 5 additions and 220 deletions
|
@ -12,18 +12,6 @@ networks = ["homeautomation", "postgres", "proxy"]
|
|||
ports = ["8123:8123", "8300:8300"]
|
||||
extra_hosts = ["host.docker.internal:host-gateway"]
|
||||
depends_on = ["mosquitto"]
|
||||
labels = [
|
||||
"traefik.enable=true",
|
||||
"traefik.docker.network=proxy",
|
||||
"traefik.http.routers.home-assistant-redirect.entrypoints=http",
|
||||
"traefik.http.routers.home-assistant-redirect.rule=Host(`home.korhonen.cc`)",
|
||||
"traefik.http.routers.home-assistant-redirect.middlewares=http2https@file",
|
||||
"traefik.http.routers.home-assistant.entrypoints=https",
|
||||
"traefik.http.routers.home-assistant.middlewares=secHeaders@file,compress@file",
|
||||
"traefik.http.routers.home-assistant.rule=Host(`home.korhonen.cc`)",
|
||||
"traefik.http.routers.home-assistant.service=home-assistant",
|
||||
"traefik.http.services.home-assistant.loadbalancer.server.port=8123",
|
||||
]
|
||||
|
||||
[services.esphome]
|
||||
container_name = "esphome"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue