- 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.
42 lines
617 B
Plaintext
42 lines
617 B
Plaintext
# Keep the build context small and secret-free.
|
|
# Read by Podman/Buildah (`.containerignore`) and, as a fallback, Docker.
|
|
|
|
# VCS / editor / local state
|
|
.git
|
|
.gitignore
|
|
.containerignore
|
|
.env
|
|
.env.*
|
|
.vscode
|
|
.idea
|
|
.agents
|
|
.gemini
|
|
|
|
# Node artifacts (installed/rebuilt inside the image)
|
|
node_modules
|
|
**/node_modules
|
|
frontend/.output
|
|
frontend/.tanstack
|
|
frontend/dist
|
|
.output
|
|
dist
|
|
|
|
# PocketBase local data & binaries
|
|
backend/pb_data
|
|
backend/pocketbase
|
|
backend/pocketbase.exe
|
|
*.db
|
|
*.db-shm
|
|
*.db-wal
|
|
|
|
# Logs & scratch
|
|
*.log
|
|
npm-debug.log*
|
|
scratch
|
|
page.html
|
|
|
|
# Ops assets not needed inside the image
|
|
ansible
|
|
Makefile
|
|
README.md
|