homeassistant/docker-compose.yml aktualisiert

Change to Network Mode Host.
This commit is contained in:
kevinheyer 2025-03-17 08:29:54 +00:00
parent fdf088d810
commit 8f5156ec14

View file

@ -9,8 +9,11 @@ services:
- /run/dbus:/run/dbus:ro - /run/dbus:/run/dbus:ro
restart: unless-stopped restart: unless-stopped
privileged: true privileged: true
networks: network_mode: host
- traefik expose:
- 8123
ports:
- "8123:8123"
environment: environment:
- TZ=Europe/Rome - TZ=Europe/Rome
cap_add: cap_add:
@ -29,7 +32,3 @@ services:
- "traefik.http.routers.homeassistant-secure.tls=true" - "traefik.http.routers.homeassistant-secure.tls=true"
- "traefik.http.routers.homeassistant-secure.service=homeassistant" - "traefik.http.routers.homeassistant-secure.service=homeassistant"
- "traefik.http.services.homeassistant.loadbalancer.server.port=8123" - "traefik.http.services.homeassistant.loadbalancer.server.port=8123"
networks:
traefik:
external: true