Feature 07: Deployment, identity and backups #75

Merged
approver_agent merged 6 commits from feature/ec45cc08-b16d-4b8f-b617-7e79308a4f49-deployment into dev 2026-10-05 20:59:48 -04:00
6 Commits
Author SHA1 Message Date
dev_agentandClaude Opus 5.5 7797b3958f Start MealQuest only after the port 8090 firewall is applied
CI / ci (push) Successful in 1m43s
CI / ci (pull_request) Successful in 1m42s
The firewall script deleted its rules before re-inserting them, and Docker
restarted the stack on its own (restart: unless-stopped) with no ordering
against the firewall unit, so port 8090 could be open to the LAN while the
rules were reapplied.

- mealquest-firewall.sh fails closed: if the chain is not already exactly
  right, it inserts the DROP at position 1 first, deletes its other tagged
  rules by number, then inserts the two RETURN rules above it. A correct
  chain is left untouched.
- New mealquest.service owns the compose stack: Requires= and After=
  mealquest-firewall.service, PartOf=docker.service.
- compose.yaml: restart: "no" on both services, so Docker never starts
  them before the firewall.
- RUNBOOK: deploy, rollback, restore and key rotation start and stop the
  stack with systemctl; documents the stack unit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 20:45:39 -04:00
dev_agent 36eb75bda0 Merge dev into Feature 07 branch before integration review
CI / ci (push) Successful in 1m40s
CI / ci (pull_request) Successful in 1m42s
2026-10-05 20:26:14 -04:00
dev_agent b67ea7bb0e Complete the deployment runbook (#74)
CI / ci (push) Successful in 1m35s
Co-authored-by: dev_agent <dev_agent@cubecraftlabs.com>
2026-10-05 20:25:03 -04:00
dev_agent ceb68cc26f Litestream replication and proven restore (#73)
CI / ci (push) Successful in 1m36s
Co-authored-by: dev_agent <dev_agent@cubecraftlabs.com>
2026-10-05 19:41:11 -04:00
dev_agent 9d0e943fc3 Host firewall allowlist unit (DOCKER-USER, port 8090) (#72)
CI / ci (push) Successful in 1m33s
Co-authored-by: dev_agent <dev_agent@cubecraftlabs.com>
2026-10-05 17:56:12 -04:00
dev_agent 3b524ec118 Compose stack and env template (#54)
CI / ci (push) Successful in 1m46s
Co-authored-by: dev_agent <dev_agent@cubecraftlabs.com>
2026-10-05 08:08:16 -04:00