fix(web): bind the Docker image to 0.0.0.0 instead of the container ID (#45193)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Haoyang LiandClaude Opus 5.5 authored and fatelei committed 2026-11-09 14:14:42 +08:00
1 parent 71e2326d83
commit bde8f6fd03
1 file changed
+3
+3
View File
@@ -56,6 +56,9 @@ ENV APP_API_URL=http://127.0.0.1:5001
ENV MARKETPLACE_API_URL=https://marketplace.dify.ai
ENV MARKETPLACE_URL=https://marketplace.dify.ai
ENV PORT=3000
# Next.js standalone binds to HOSTNAME. Docker defaults it to the container ID, and
# net.Server.listen() takes an ID like 30889528e495 as a numeric backlog, not a host.
ENV HOSTNAME=0.0.0.0
ENV EXPERIMENTAL_ENABLE_VINEXT=false
ENV NEXT_TELEMETRY_DISABLED=1