Skip to content

docs: add Docker and Docker Compose deployment guide - #212

Closed
inference-gateway-maintainer[bot] wants to merge 1 commit into
mainfrom
docs/issue-201-20260611-2106
Closed

inference-gateway-maintainer[bot] wants to merge 1 commit into
mainfrom
docs/issue-201-20260611-2106

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

Adds a dedicated docker-deployment.md guide for container deployment, which previously only appeared in passing in getting-started.md.

  • New docker-deployment.md (with title + description frontmatter):
    • docker run quickstart: inline keys, --env-file, config/cert volume mounts, and TLS.
    • Layered Docker Compose stacks mirroring the gateway repo's examples/docker-compose (gateway service, MCP tool servers, optional Prometheus + Grafana monitoring) with networking and a prometheus.yml.
    • Configuration reference: port mapping, key env vars, and GET /health checks. The published image is distroless (no shell), so health is documented as an external probe rather than a shell-based Compose healthcheck:.
    • Upgrade/rollback pointer to the gateway release notes; the dedicated upgrade/migration guide is tracked in [DOCS] Add upgrade and migration guide #204.
  • .vitepress/config.ts: page added to nav (Guides) and sidebar (Core Concepts).
  • getting-started.md: the Docker Compose subsection now links to the new page; the Docker subsection points there for env files and TLS.
  • deployment.md: cross-references the new Docker page.

Compose examples are kept consistent with inference-gateway/inference-gateway examples/docker-compose rather than forked into a separate version.

Validation

  • npm run lint:md - pass
  • npm run format:check - pass
  • npm run build - pass (page renders SSR'd into docker-deployment/index.html; canonical tag and sitemap entry correct)

Follow-ups

Helm is being deprecated in favor of the Kubernetes Operator. This PR points Kubernetes guidance at the Operator but does not remove Helm; separate follow-up issues track the deprecation (docs update + chart retirement).

Closes #201

@edenreich

Copy link
Copy Markdown
Contributor

@claude This should not even be offered - people should not deploy the gateway using docker-compose. Any other cleanups we need to do? use /maintainer

@edenreich edenreich closed this Jun 12, 2026
@inference-gateway-maintainer

inference-gateway-maintainer Bot commented Jun 12, 2026 •

Copy link
Copy Markdown
Contributor Author

Claude finished @edenreich's task in 9m 7s —— View job • docs/pr-212-20260612-0001 • Create PR ➔


Maintainer review — don't offer Docker Compose as a gateway deployment

Agreed: closing #212 was the right call. A dedicated guide that frames Compose as "small-scale production" cuts against the recommended path (the Kubernetes Operator). That PR was never merged, so the guide isn't on main — but the framing of Compose as a way to run the gateway still leaked into two existing pages. Cleaned those up, plus one unrelated bug.

What changed (commit 266926c)

  • getting-started.md — removed the "Using Docker Compose" install section; dropped "Docker Compose" from the page description.
  • examples.md — removed the "Docker Compose Examples" section ("a simple way to set up Inference Gateway" + an inline gateway Compose file); dropped "Docker Compose" from the description.
  • getting-started.md (bug) — the first curl example's -d '{...} was missing its closing quote, so it couldn't be pasted as-is. Fixed the quoting and added the Content-Type: application/json header to match examples.md.

Deliberately kept (local-dev / examples, not gateway deployment)

mcp.md (Compose for MCP tool servers), observability.md (links to the monitoring example dir), troubleshooting.md (a generic env-var note), and the per-agent docs (grafana-agent, n8n-agent, the ADKs, etc.). These describe wiring up tools/agents locally, not deploying the gateway — happy to tighten any of them if you'd rather Compose disappear entirely.

Flagged, not touched

  • deployment.md is still Helm-only. Helm deprecation in favor of the Operator is tracked as separate follow-ups (per docs: add Docker and Docker Compose deployment guide #212's body), so I left it alone here.
  • getting-started.md → "Using Kubernetes" still points at raw manifests rather than the Operator. Want me to point it (and the examples.md Kubernetes example) at the Operator as the recommended production path in a follow-up?

Validation

Couldn't run npm run lint:md / format:check / build locally — the sandbox blocked npx. The edits keep heading blank-line spacing and the repo's 2-space/single-quote style, so CI's lint:md + format:check + build should pass; I'll watch the run.

--- · branch docs/pr-212-20260612-0001

@edenreich
edenreich deleted the docs/issue-201-20260611-2106 branch June 17, 2026 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] Add Docker Compose / Docker deployment guide

1 participant