deckle-hosted: kill switch that stops the control plane but keeps the sites online #593

Open
opened 2026-11-01 01:53:40 +01:00 by dominik.polakovics · 0 comments

For a security incident in deckle-hosted we want to shut the whole platform down (dashboard, login, editor, git, builds) without taking the customers' published sites offline.

Caddy serves the built sites straight from /var/lib/deckle/data/docroot; the control plane is not in that path. So stopping deckle-hosted.service already keeps the pages up, but a manual systemctl stop is undone by the next deploy that changes the unit (every deckle pin bump does).

Wanted:

  • a module option on services.deckle-hosted that switches the control plane off declaratively (unit, image build, trash purge), leaving Caddy and the database dump running
  • a runbook under docs/runbooks/ with the immediate stop, the durable flip, and what stops working meanwhile (contact form, appointments widget, redirect hosts, new TLS certificates via the on-demand ask)
For a security incident in deckle-hosted we want to shut the whole platform down (dashboard, login, editor, git, builds) without taking the customers' published sites offline. Caddy serves the built sites straight from `/var/lib/deckle/data/docroot`; the control plane is not in that path. So stopping `deckle-hosted.service` already keeps the pages up, but a manual `systemctl stop` is undone by the next deploy that changes the unit (every deckle pin bump does). Wanted: - a module option on `services.deckle-hosted` that switches the control plane off declaratively (unit, image build, trash purge), leaving Caddy and the database dump running - a runbook under `docs/runbooks/` with the immediate stop, the durable flip, and what stops working meanwhile (contact form, appointments widget, redirect hosts, new TLS certificates via the on-demand ask)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Cloonar/nixos#593
No description provided.