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