homeassistant/docker-compose.yml aktualisiert
Change to Network Mode Host.
This commit is contained in:
parent
fdf088d810
commit
8f5156ec14
1 changed files with 6 additions and 7 deletions
|
@ -9,8 +9,11 @@ services:
|
|||
- /run/dbus:/run/dbus:ro
|
||||
restart: unless-stopped
|
||||
privileged: true
|
||||
networks:
|
||||
- traefik
|
||||
network_mode: host
|
||||
expose:
|
||||
- 8123
|
||||
ports:
|
||||
- "8123:8123"
|
||||
environment:
|
||||
- TZ=Europe/Rome
|
||||
cap_add:
|
||||
|
@ -28,8 +31,4 @@ services:
|
|||
- "traefik.http.routers.homeassistant-secure.rule=Host(`${HOMEASSISTANT_DOMAIN:?error}`)"
|
||||
- "traefik.http.routers.homeassistant-secure.tls=true"
|
||||
- "traefik.http.routers.homeassistant-secure.service=homeassistant"
|
||||
- "traefik.http.services.homeassistant.loadbalancer.server.port=8123"
|
||||
|
||||
networks:
|
||||
traefik:
|
||||
external: true
|
||||
- "traefik.http.services.homeassistant.loadbalancer.server.port=8123"
|
Loading…
Add table
Reference in a new issue