Don't use network host mode in the example docker-compose.yaml (#128)
This commit is contained in:
1 parent
dc7c6273e4
commit
baa31ab649
1 file changed
+5
-2
@@ -12,9 +12,12 @@ services:
|
|||||||
shortumation:
|
shortumation:
|
||||||
# make sure to replace the ARCH with whatever system you are running!
|
# make sure to replace the ARCH with whatever system you are running!
|
||||||
image: "asosnovsky/shortumation-${ARCH:-amd64}:${SHORTUMATION_VERSION:-latest}"
|
image: "asosnovsky/shortumation-${ARCH:-amd64}:${SHORTUMATION_VERSION:-latest}"
|
||||||
network_mode: host
|
ports:
|
||||||
|
- 8000:8000
|
||||||
|
extra_hosts:
|
||||||
|
- "host.docker.internal:host-gateway"
|
||||||
volumes:
|
volumes:
|
||||||
- ./config:/config
|
- ./config:/config
|
||||||
environment:
|
environment:
|
||||||
- SUPERVISOR_TOKEN=${SUPERVISOR_TOKEN}
|
- SUPERVISOR_TOKEN=${SUPERVISOR_TOKEN}
|
||||||
- HASSIO_WS=ws://0.0.0.0:8123/api/websocket
|
- HASSIO_WS=ws://host.docker.internal:8123/api/websocket
|
||||||
Reference in new issue
Block a user