Hostityourself/infra
Claude 9ba81bd809
fix: drop Caddy --resume, restore app routes from DB on startup
--resume caused Caddyfile changes (e.g. new Forgejo block) to be silently
ignored on restart because Caddy preferred its saved in-memory config.

Instead, Caddy now always starts clean from the Caddyfile, and the HIY
server re-registers every app's Caddy route from the DB on startup
(restore_caddy_routes). This gives us the best of both worlds:
- Caddyfile changes (static services, TLS config) are always picked up
- App routes are restored automatically without needing a redeploy

https://claude.ai/code/session_01FKCW3FDjNFj6jve4niMFXH
2026-03-26 10:56:04 +00:00
..
postgres-init feat: add Forgejo service + Postgres database provisioning 2026-03-26 10:44:19 +00:00
.env.example feat: add Forgejo service + Postgres database provisioning 2026-03-26 10:44:19 +00:00
backup.sh feat: M4 Hardening — encryption, resource limits, monitoring, backups 2026-03-24 15:06:42 +00:00
boot.sh remove: podman system migrate (wrong tool for the wrong problem) 2026-03-24 12:34:16 +00:00
docker-compose.yml fix: drop Caddy --resume, restore app routes from DB on startup 2026-03-26 10:56:04 +00:00
Dockerfile.server fix: copy server/templates into build image for include_str! macros 2026-03-24 16:29:15 +00:00
gatus.yml feat: M4 Hardening — encryption, resource limits, monitoring, backups 2026-03-24 15:06:42 +00:00
Makefile Replace Docker with Podman throughout 2026-03-20 14:58:52 +00:00
start.sh fix: use Caddy internal CA when ACME_EMAIL is not set 2026-03-25 22:09:00 +00:00