feat: add a panel button to update the manager itself

The manager clones SELF_UPDATE_REPO_URL, builds a new image in the shared build queue and
hands over to a short-lived updater container (new image) that swaps the manager container,
health-checks it and rolls back on failure. Exposed as GET/POST /api/system behind requireAuth;
installation changes answer 409 while an update runs. Session cookie is now SameSite=Lax.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Sonnet 5.5 committed 2026-10-19 05:45:25 +02:00
1 parent 5fb1d6b0b4
commit 4b3c8f213a
23 files changed
+705 -5

No files matched your search

+6
View File
@@ -14,6 +14,12 @@ docker compose up -d --build
Put your own reverse proxy (nginx, etc.) in front of port 3000 for TLS and your public domain.
## Updating
Set `SELF_UPDATE_REPO_URL` (and optionally `SELF_UPDATE_REF`) in `.env` and use the **Update manager**
button in the panel: it builds the latest source and swaps the manager's container, rolling back
if the new one isn't healthy. Details in [docs/operations.md](docs/operations.md).
## Local development (Podman)
Requires `nixpacks` and a `docker` CLI pointed at your Podman socket (e.g. via the