Upgrading
data/ before big jumps. docker compose pull && docker compose up -d instead if you run a prebuilt image.
Backing up Home itself
Everything Home owns is one directory — theHOME_DATA_DIR volume:
secret.key is inside the archive (it is, unless you used HOME_SECRET_KEY
— in which case keep that value somewhere safe).
Mounting existing stacks
Home adopts containers by their compose label, but it can only read an existing stack’s compose file if the host path is visible inside the container. If your stacks live at/etc/dokploy/compose, /opt/stacks or
/srv/appdata, mount that directory:
HOME_DATA_DIR.
Security model
The socket is root
/var/run/docker.sock is effectively root on the host — that’s how Home
can run compose at all. Anyone who can reach Home’s UI can drive Docker.
Keep it on a network you trust (LAN, Tailscale, or behind SSO).Single admin
One account, scrypt-hashed, httpOnly session cookie, login rate
limiting, passkeys. No multi-user, no roles — by design.
Secrets encrypted
Integration tokens and webhook secrets are AES-256-GCM encrypted with
secret.key. APIs return hints (…abcd), never values.CSRF + webhooks
Mutating routes check same-origin. Git webhooks verify HMAC signatures;
each stack can rotate its secret.
The home CLI
The installer drops a home command on the host (/usr/local/bin, or
~/.local/bin) — a wrapper that docker-execs node /app/cli/home.mjs
inside the container, so it runs where the database and native modules
live. It works even when the app is down.
HOME_DATA_DIR; anyone who can read it already owns
the instance.
Suggested hardening
- Serve Home over Tailscale (
tailscale serve) or a reverse proxy with TLS rather than a bare LAN IP. - Set a strong
HOME_SECRET_KEYyourself instead of the generated file. - Register a passkey in Settings → Account once you’re on a secure context.
- Use a dedicated
HOME_MCP_TOKENper MCP client so you can rotate it without touching sessions.