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
|
- /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:
|
||||||
|
@ -28,8 +31,4 @@ services:
|
||||||
- "traefik.http.routers.homeassistant-secure.rule=Host(`${HOMEASSISTANT_DOMAIN:?error}`)"
|
- "traefik.http.routers.homeassistant-secure.rule=Host(`${HOMEASSISTANT_DOMAIN:?error}`)"
|
||||||
- "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
|
|
Loading…
Add table
Reference in a new issue