Skip to content

[DOCS] Note SERVER_HOST=0.0.0.0 for containerized deployments #780

Closed

Description

Summary - Gateway PR inference-gateway/inference-gateway#739 (fixes inference-gateway/inference-gateway#735) changes the generated Docker Compose .env.example files to ship SERVER_HOST=0.0.0.0 instead of the code default 127.0.0.1. With the loopback value coming in through an env_file, the container overrode the image default and the gateway was unreachable on the published port. Affected page: configuration.md (SERVER_HOST row). The documented code default stays 127.0.0.1; what needs a note is that containerized deployments must use 0.0.0.0. ### Acceptance Criteria - [ ] configuration.md notes that SERVER_HOST must be 0.0.0.0 in containers (Docker / Compose / Kubernetes), while the process default remains 127.0.0.1 - [ ] Any Docker Compose walkthrough in the docs that copies .env.example matches the regenerated files

Activity

  1. added
    documentation
    on Sep 25, 2026
  2. added theissue type on Sep 25, 2026
  3. edenreich commented on Sep 25, 2026

    @edenreich
    Contributor

    @claude Can you work on this?

  4. inference-gateway-maintainer commented on Sep 25, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 2m 7s —— View job • docs/issue-780-20260925-2202 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-780-20260925-2202?quick_pull=1&title=Issue%20%23780%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23780%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Done - PR #785 opened

    • Gather context (configuration.md SERVER_HOST row + Compose walkthroughs)
    • Understand request
    • Add containerized-deployment note
    • Check Docker Compose .env.example walkthroughs match regenerated files
    • Lint / format / build
    • Commit + open PR

    What changed

    configuration.md

    • Server Settings prose now states that Docker / Compose / Kubernetes deployments must end up with SERVER_HOST=0.0.0.0, and that the image default is overridden by any explicitly supplied value - a Compose env_file or environment: entry, a ConfigMap key, or a Helm value carrying 127.0.0.1 puts the gateway back on loopback. The process default stays 127.0.0.1 for direct binary runs.
    • SERVER_HOST table row description updated to match.
    • Comment above SERVER_HOST in the complete configuration example now calls out the env_file/ConfigMap override.

    troubleshooting.md

    • New Configuration entry: "The container starts and looks healthy, but the published port refuses connections" - symptom, loopback bind as the cause, and the env | grep SERVER_HOST check plus fix.

    Second acceptance criterion: no walkthrough in these docs copies .env.example inline - the Compose sections link out to the upstream examples/docker-compose directory - and the complete configuration example here already ships SERVER_HOST=0.0.0.0, so nothing else needed syncing.

    Validated: bun run lint:md, bun run format:check, bun run build all pass.
    | Branch | PR #785

  5. moved this from QA to Done in 2026on Sep 25, 2026
  6. inference-gateway-releaser commented on Sep 26, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.17 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions