Skip to content

docs: add standalone Docker Compose install guide (no Kubernetes) - #44

Open
dk-teknologisk-npgr wants to merge 2 commits into
computerlovetech:mainfrom
dk-teknologisk-npgr:docs/standalone-compose-install
Open

dk-teknologisk-npgr wants to merge 2 commits into
computerlovetech:mainfrom
dk-teknologisk-npgr:docs/standalone-compose-install

Conversation

@dk-teknologisk-npgr

@dk-teknologisk-npgr dk-teknologisk-npgr commented Nov 29, 2026 •

Copy link
Copy Markdown

Hi!👋

I'm trying out Umbod in standalone mode and figured I'd contribute docs to get it up and running once I'm done.

This is very much a draft at the moment, I'm not 100% there yet 😄

I will happily adjust the phrasing/tone/etc of the docs to your style if you can steer me in the right direction.


Agent written section:

What this adds

A new self-host page, Run standalone with Docker Compose, covering the non-Kubernetes install path that the current docs skip: today every documented install goes through kind or Helm, while the repository ships a complete compose stack. The guide covers:

  • Prerequisites, including a Windows note: cloning with core.autocrlf enabled rewrites frontend/deployment/start.sh to CRLF and the frontend container crash-loops (set: line 2: illegal option -). The repo has no .gitattributes, so the guide instructs cloning with --config core.autocrlf=false.
  • Creating the persistent root secret in an .env file. This contradicts the current development README ("No .env file is required"), but the compose file hard-requires UMBOD_ROOT_SECRET via :?.
  • Building and starting the stack, with a health-check table for all four endpoints.
  • The umbod_umbod-data SQLite volume: contents, inspection via a helper container (the app containers are distroless), and the no-cross-version-migration caveat.
  • Development sign-in behaviour for both the REST API and the MCP endpoint, including the UMBOD_MCP_TEST_BEARER_TOKEN override and a warning not to expose dev-auth ports.
  • Upgrade and teardown commands.

Every step was executed and verified on Windows 11 with Docker Engine 29.9.3 and Compose v5.7.1, including an end-to-end downstream MCP connector test through the compose stack.

Possible follow-ups (out of scope here, happy to PR separately)

  • A .gitattributes with * text=auto eol=lf would fix the CRLF class of problems at the source.
  • The development README's "No .env file is required" claim should be corrected.
  • docs/hooks.py writes generated files (helm-values.md, llms.txt) with Path.write_text without encoding="utf-8"; on Windows this emits cp1252/CRLF and the docs build fails reading them back. Adding explicit encoding + newline fixes mkdocs build on Windows.
  • Parameterizing the hardcoded umbod-admin.computerlove.tech traefik labels and origin defaults in docker-compose.yml would make the compose file cleaner for third-party deployments.

Prove it works
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Documents the non-Kubernetes install path from a verified Windows + Docker Desktop run: root secret via .env, compose build/up, health checks, SQLite volume handling, development sign-in, upgrade and teardown. Adds the page to the docs nav.

Copy link
Copy Markdown
Contributor

This PR looks very much like we need to ensure an easier path for trying out Umbod in standalone local mode. I welcome this docs, however, it points to a deeper issue with the solution, because users shouldn't have to go through all this pain to try it out outside of Kubernetes.

Thanks for your contribution!

@dk-teknologisk-npgr

Copy link
Copy Markdown
Author

This PR looks very much like we need to ensure an easier path for trying out Umbod in standalone local mode. I welcome this docs, however, it points to a deeper issue with the solution, because users shouldn't have to go through all this pain to try it out outside of Kubernetes.

Thanks for your contribution!

To be honest it wasn't very painful, my agent took one for the team here 😄

I agree it's a bit rough around the edges, but I'd say that's to be expected for a non-golden path deployment method on a beta product. Hopefully we can trim these docs a fair bit a few versions down the line.

@dk-teknologisk-npgr
dk-teknologisk-npgr marked this pull request as ready for review November 30, 2026 12:40

This branch has not been deployed

No deployments
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.

2 participants