podman builds an OCI image by default and drops the Dockerfile's HEALTHCHECK instruction, 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 and healthy. - Declare the same check on the greatbear.container unit (HealthCmd plus interval, timeout, retries, start period), the convention hops and menu-admin already use. - 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. Mirrors hops 7366596, so the two deployments keep the same shape.
43 lines
704 B
Plaintext
43 lines
704 B
Plaintext
# Keep the build context small and secret-free.
|
|
# Read by Podman/Buildah (`.containerignore`) and, as a fallback, Docker.
|
|
#
|
|
# The build is `git archive HEAD`, so untracked files never reach the context
|
|
# anyway; this is belt-and-suspenders for a working-tree build.
|
|
|
|
# VCS / editor / local state
|
|
.git
|
|
.gitignore
|
|
.containerignore
|
|
.env
|
|
.env.*
|
|
.npm-cache
|
|
.tmp-pb
|
|
.podman
|
|
.vscode
|
|
.idea
|
|
design
|
|
*.zip
|
|
|
|
# Node artifacts (installed/rebuilt inside the image)
|
|
node_modules
|
|
**/node_modules
|
|
app/.output
|
|
app/.tanstack
|
|
app/.nitro
|
|
app/dist
|
|
|
|
# PocketBase local data & scratch
|
|
pb_data
|
|
*.db
|
|
*.db-shm
|
|
*.db-wal
|
|
|
|
# Logs
|
|
*.log
|
|
|
|
# Ops assets not needed inside the image
|
|
ansible
|
|
Makefile
|
|
README.md
|
|
scripts/create-collections.sh
|