7 Commits
Author SHA1 Message Date
tanshu 7366596a87 Fix the Quadlet healthcheck so the deploy gate can pass
podman builds an OCI image by default and drops the Dockerfile's HEALTHCHECK,
so the first deploy failed at "Wait for the container healthcheck to pass" with
"container ... has no defined healthcheck" even though the app was up.

- Declare the same check on the hops.container unit (HealthCmd + interval,
  timeout, retries, start period), the convention menu-admin already uses.
- Flush handlers right after starting, before the gate: the unit template's
  restart handler otherwise runs at the end of the play, so a run that changes
  only the unit would test the stale container.
2026-10-16 10:46:01 +05:30
tanshu 843c8ba78a Build with Podman and deploy as a rootless Quadlet on emily
- Makefile: podman build/push from the committed tree (git archive HEAD),
  tagged :<commit> + :latest; PLATFORM defaults to linux/arm64 for emily.
- deploy.sh: push the commit first, refuse a dirty tracked tree or
  HEAD != origin/main, then build and deploy that exact commit via
  -e image_tag (rollback = an older commit).
- ansible: target emily with no become. The register role writes hops.network
  (NetworkName=hops_net) plus the caddy.container.d drop-in; the hops role
  installs ~/podman-data/hops and hops.container under systemctl --user with a
  podman healthcheck gate; the caddy role appends the site blocks to the shared
  Caddyfile and reloads.
- Drop the Docker-era network role, community.docker requirements,
  ansible/files templates and docker-compose.yml.
- .containerignore replaces .dockerignore.
- README: Podman build, rootless Quadlet deploy on emily.
2026-10-16 10:35:57 +05:30
tanshu 486ed14ee9 pocketbase url was wrong 2026-09-02 18:22:53 +00:00
tanshu ee17dda304 backend was 404 2026-09-02 18:14:34 +00:00
tanshu b1f5b83b1d Testing 2026-09-02 17:51:31 +00:00
tanshu c078745bc0 Deployment added. 2026-09-02 17:45:38 +00:00
tanshu 1a9c69fc9d Initial Commit 2026-09-02 16:29:03 +00:00