selfhostedops-stack/updates/health.env.example
Maximilian Grimm 55b2fe7646 Episode 17: updates one service at a time, a health check that asks real questions, every tag pinned
updates/health.sh: 43 checks across all services (API answers, git refs, a push
message round trip, SSO redirects and token endpoint, mesh state, backup age).
updates/update.sh: per service pull or build, snapshot, recreate, wait for the
health check, put image and data back on red and stop the run.
backup/backup.sh: online dumps for n8n, Pocket ID and tinyauth; BACKUP_TAG so
pre-update snapshots are not removed by the nightly keep-daily rule.
compose.yml and caddy/Dockerfile: exact versions instead of latest, 16, 7-alpine
and caddy:2-alpine.
2026-10-08 22:04:29 +02:00

9 lines
497 B
Text

# Optional credentials for updates/health.sh. Copy to health.env (mode 600).
# Read-only Forgejo token: forgejo admin user generate-access-token -u <user> -t health --scopes read:repository --raw
FORGEJO_HEALTH_TOKEN=
FORGEJO_HEALTH_REPO=owner/repo
# ntfy user with read-write on the topic "healthcheck":
# ntfy user add health && ntfy access health healthcheck rw
NTFY_HEALTH_AUTH=health:password
# Number of active n8n workflows you expect (leave empty for "at least one")
N8N_EXPECT_ACTIVE=