Skip to content

[DOCS] Add Docker Compose / Docker deployment guide #201

Closed

Description

@inference-gateway-maintainer

Summary

Inference Gateway has no dedicated Docker / Docker Compose deployment page. Docker Compose is one of the most common ways to run the gateway for development, testing, and small-scale production, but the docs only cover it in passing. Add a proper guide.

Current state (verified against the repo)

  • getting-started.md has a minimal Using Docker section (a docker pull + single docker run with one env var) and a Using Docker Compose section that only links out to the gateway repo's examples/docker-compose directory - no inline example, no explanation.
  • deployment.md is Helm / Kubernetes only.
  • No docker-deployment.md page exists, so container deployment is not discoverable from the sidebar.

What to add

A new docker-deployment.md page covering:

  1. Basic docker run - expand the getting-started snippet with env-file configuration, config/cert volume mounts, and TLS options.
  2. Docker Compose - runnable stacks consistent with the gateway repo's examples/docker-compose:
    • Gateway service with provider API keys supplied via .env.
    • MCP tool servers (time, search, filesystem).
    • Optional monitoring stack (Prometheus + Grafana) with prometheus.yml.
    • Networking configuration.
  3. Configuration reference - port mapping, key env vars, and health checks. The published image is distroless (no shell), so document probing GET /health from outside the container.
  4. A link to the gateway release notes for upgrade/rollback steps; a dedicated upgrade/migration guide is tracked in [DOCS] Add upgrade and migration guide #204.

Kubernetes note

Helm is being deprecated and the chart will be retired - new Kubernetes guidance should point at the Kubernetes Operator, not Helm. This page links to the Operator for cluster deployments. The Helm deprecation itself is tracked in separate follow-up issues.

Affected files

  • New: docker-deployment.md - with title + description frontmatter.
  • .vitepress/config.ts - add the page to BOTH nav (Guides) and sidebar (Core Concepts).
  • getting-started.md - keep the quick docker run; link the Docker Compose subsection to the new page.
  • deployment.md - cross-reference the new Docker page.

Acceptance criteria

  • docker-deployment.md exists with valid frontmatter and renders in nav + sidebar.
  • Inline Compose examples stay consistent with the gateway repo's examples/docker-compose stacks.
  • getting-started.md and deployment.md cross-link the new page.
  • npm run lint:md, npm run format:check, and npm run build pass.

Notes

  • Canonical runnable examples live in inference-gateway/inference-gateway under examples/docker-compose. Keep the inline compose consistent with that directory.
  • Overlaps with [DOCS] Add upgrade and migration guide #204 (upgrade/migration): put generic upgrade steps there and link to them from here.

Activity

  1. added
    documentation
    on Jun 8, 2026
  2. added theissue type on Jun 8, 2026
  3. moved this to Todo in 2026on Jun 8, 2026
  4. edenreich commented on Jun 11, 2026

    @edenreich
    Contributor

    @claude Can you refine this github issue and work on it? use /maintainer

    BTW helm is going be deprecated, we're no longer going to offer helm chart for deployment - users should be using the operator repository instead - can you create follow up github issues for this?

  5. inference-gateway-maintainer commented on Jun 11, 2026

    @inference-gateway-maintainer
    ContributorAuthor

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


    Done

    Refined issue #201, implemented the Docker deployment guide, and filed the Helm-deprecation follow-ups you asked for.

    Completed

    What the new page covers (docker-deployment.md)

    • docker run quickstart - inline keys, --env-file, config/cert volume mounts, and TLS via SERVER_TLS_CERT_PATH / SERVER_TLS_KEY_PATH.
    • Layered Docker Compose mirroring examples/docker-compose - gateway service (.env provider keys), MCP tool servers (time/search/filesystem), and an optional Prometheus + Grafana monitoring stack with prometheus.yml and networking.
    • Configuration reference - port-mapping table, key env vars, and health checks. The published image is gcr.io/distroless/static-debian13 (no shell), so I documented probing GET /health from outside the container rather than a shell-based Compose healthcheck:.
    • Upgrade/rollback points at the gateway release notes; the dedicated upgrade guide stays in [DOCS] Add upgrade and migration guide #204 (not duplicated).

    Verified the page is SSR'd into docker-deployment/index.html (prose + compose YAML in first-pass HTML), with a correct canonical tag and sitemap entry.

    Helm deprecation follow-ups

    Since Helm is being retired in favor of the Operator, I split the work and kept this PR scoped to Docker (it points Kubernetes users at the Operator but doesn't touch Helm):

    Both are typed Task, labeled, on the Roadmap board at Todo, and bidirectionally cross-linked.

    Not done (intentionally)


    PR: #212 - docs: add Docker and Docker Compose deployment guide (docs/issue-201-20260611-2106 → main)
    · branch

  6. moved this from Todo to In progress in 2026on Jun 11, 2026
  7. moved this from In progress to QA in 2026on Jun 11, 2026
  8. moved this from QA to Done in 2026on Jun 12, 2026
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

    documentation

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions