Hostityourself/infra
Claude 8267b30b15
fix: restore app reachability after platform restart
Two root causes:

1. Caddy was started without --resume, so every restart wiped all
   dynamically-registered app routes (only the base Caddyfile survived).
   Adding --resume makes Caddy reload its auto-saved config (stored in
   the caddy-config volume) which includes all app routes.

2. App routes used the container IP address, which changes whenever
   hiy-net is torn down and recreated by compose. Switch to the
   container name as the upstream dial address; Podman's aardvark-dns
   resolves it by name within hiy-net, so it stays valid across
   network recreations.

Together with the existing reconnect loop in start.sh these two
changes mean deployed apps survive a platform restart without needing
a redeploy.

https://claude.ai/code/session_01FKCW3FDjNFj6jve4niMFXH
2026-03-24 12:47:32 +00:00
..
.env.example Add session-based auth to dashboard and API 2026-03-20 13:45:16 +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: restore app reachability after platform restart 2026-03-24 12:47:32 +00:00
Dockerfile.server Replace Docker with Podman throughout 2026-03-20 14:58:52 +00:00
Makefile Replace Docker with Podman throughout 2026-03-20 14:58:52 +00:00
start.sh fix: reconnect app containers to hiy-net after platform restart 2026-03-24 12:42:26 +00:00