fix(docker): bind EOSdash to 0.0.0.0 so HA ingress can reach it (#1346)

server.eosdash_host defaults to 127.0.0.1 (not None), so the fallback in run_eos() that inherits server.host never triggers. The --host 0.0.0.0 CLI argument only sets server.host. As a result EOSdash binds to 127.0.0.1 inside the container and the Home Assistant Supervisor ingress (ingress_port 8504) cannot reach it (502). Set EOS_SERVER__EOSDASH_HOST=0.0.0.0 in the image.
This commit is contained in:
Hoffis-Welt
2026-09-24 19:40:03 +02:00
committed by GitHub
parent 35f77c9b99
commit 38915a620b
+4
View File
@@ -77,6 +77,10 @@ ENV MPLCONFIGDIR="${EOS_DATA_DIR}/mplconfigdir"
# Overwrite when starting the container in a production environment
ENV EOS_SERVER__EOSDASH_SESSKEY=s3cr3t
# EOSdash must listen on all interfaces so HA ingress can reach it.
# server.eosdash_host defaults to 127.0.0.1 (not None), so it does not
# inherit --host 0.0.0.0 from the CLI.
ENV EOS_SERVER__EOSDASH_HOST=0.0.0.0
# Set environment variables to reduce threading needs
ENV OPENBLAS_NUM_THREADS=1