have to use files for hass and network mode to be able to autodiscover devices like sonos
This commit is contained in:
@@ -402,7 +402,7 @@ services:
|
|||||||
image: homeassistant/home-assistant
|
image: homeassistant/home-assistant
|
||||||
container_name: hass
|
container_name: hass
|
||||||
privileged: true
|
privileged: true
|
||||||
# network_mode: host
|
network_mode: host
|
||||||
restart: always
|
restart: always
|
||||||
security_opt:
|
security_opt:
|
||||||
- seccomp:unconfined
|
- seccomp:unconfined
|
||||||
@@ -417,16 +417,16 @@ services:
|
|||||||
- /run/dbus:/run/dbus:ro
|
- /run/dbus:/run/dbus:ro
|
||||||
labels:
|
labels:
|
||||||
- "com.centurylinklabs.watchtower.enable=false"
|
- "com.centurylinklabs.watchtower.enable=false"
|
||||||
- "traefik.enable=true"
|
# - "traefik.enable=true"
|
||||||
- "traefik.http.routers.hass.rule=Host(`hass.depaoli.id.au`)"
|
# - "traefik.http.routers.hass.rule=Host(`hass.depaoli.id.au`)"
|
||||||
- "traefik.http.routers.hass.tls=true"
|
# - "traefik.http.routers.hass.tls=true"
|
||||||
- "traefik.http.services.hass.loadbalancer.server.port=8123"
|
# - "traefik.http.services.hass.loadbalancer.server.port=8123"
|
||||||
- "traefik.http.routers.hass.entrypoints=secureweb"
|
# - "traefik.http.routers.hass.entrypoints=secureweb"
|
||||||
# - "traefik.http.routers.hass.tls.options=tls12@file"
|
# - "traefik.http.routers.hass.tls.options=tls12@file"
|
||||||
# 8123 == main port, 3610???
|
# 8123 == main port, 3610???
|
||||||
ports:
|
# ports:
|
||||||
- "8123:8123"
|
# - "8123:8123"
|
||||||
- "3610:3610/udp"
|
# - "3610:3610/udp"
|
||||||
|
|
||||||
mass:
|
mass:
|
||||||
image: ghcr.io/music-assistant/server
|
image: ghcr.io/music-assistant/server
|
||||||
|
|||||||
Reference in New Issue
Block a user