iac/nixos/modules
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sergei Poljanski fa46d26f89
nixos: app stacks on Podman, unchanged
The apps keep deploying themselves: their CI copies a compose file and
a .env and runs docker compose as user deploy. `docker` is now the real
Docker CLI against rootful Podman's socket, so compose, inspect and
logs behave as before and every user sees the same containers.

Their compose files still expect the storage stack's network and the
hosts postgres and garage. On ops every container resolves those two
names to the host, where the native services run, and an empty storage
network exists, so nothing in the app repositories has to change for
the move itself.

Tried on the rehearsal pair with the real asxpio and datacenterbingo
images on the restored database and Garage (mail and IndexNow
disabled): both serve through Traefik, and a local compose build works.

One thing does need the app repositories: Podman ignores the
HEALTHCHECK of OCI-format images, which is what the CI builds, so the
deploy's wait for "healthy" would time out. Declaring the healthcheck
in each compose file fixes it, also under Docker; see MIGRATION.md.

ops-data.sh now also moves the monitoring history, Traefik's
certificates and the app directories, and pulls the images again.

Assisted-by: Claude:opus-5-5
2026-11-17 05:11:17 +04:00
..
alert.nix nixos: describe both servers as NixOS systems 2026-11-16 22:59:59 +04:00
backup.nix nixos: describe both servers as NixOS systems 2026-11-16 22:59:59 +04:00
base.nix nixos: monitoring as native services 2026-11-17 04:48:56 +04:00
hetzner.nix nixos: monitoring as native services 2026-11-17 04:48:56 +04:00
monitoring-agent.nix nixos: app stacks on Podman, unchanged 2026-11-17 05:11:17 +04:00
podman.nix nixos: app stacks on Podman, unchanged 2026-11-17 05:11:17 +04:00
security-metrics.py nixos: monitoring as native services 2026-11-17 04:48:56 +04:00
wireguard.nix nixos: describe both servers as NixOS systems 2026-11-16 22:59:59 +04:00