From baa31ab64945398f2918c09d0a60b87df54da480 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Adam=20Sowa?= Date: Sat, 6 Aug 2022 20:20:27 +0200 Subject: [PATCH] Don't use network host mode in the example docker-compose.yaml (#128) --- example/containerized/docker-compose.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/example/containerized/docker-compose.yaml b/example/containerized/docker-compose.yaml index 37ef70e..8fbee4c 100644 --- a/example/containerized/docker-compose.yaml +++ b/example/containerized/docker-compose.yaml @@ -12,9 +12,12 @@ services: shortumation: # make sure to replace the ARCH with whatever system you are running! image: "asosnovsky/shortumation-${ARCH:-amd64}:${SHORTUMATION_VERSION:-latest}" - network_mode: host + ports: + - 8000:8000 + extra_hosts: + - "host.docker.internal:host-gateway" volumes: - ./config:/config environment: - SUPERVISOR_TOKEN=${SUPERVISOR_TOKEN} - - HASSIO_WS=ws://0.0.0.0:8123/api/websocket + - HASSIO_WS=ws://host.docker.internal:8123/api/websocket