Docker distribution: production image, compose recipe, GHCR auto-publishing - #25
Merged
Conversation
…blishing - Dockerfile on node:20-alpine (~60 MB): production deps only, runs as the unprivileged node user, data isolated in a /app/data volume, built-in HEALTHCHECK, node as PID 1 for correct signal handling - docker-compose.yml for departmental deployments (named volume, restart policy, TRUST_PROXY toggle) - GitHub Actions workflow publishes multi-arch (amd64+arm64) images to ghcr.io on pushes to main (latest + sha tags) and v* release tags (semver); PRs build without publishing as a smoke check - New unauthenticated GET /api/health liveness endpoint - Graceful SIGTERM/SIGINT shutdown: flush sessions, drain connections, 5s hard-stop safety net - README: "Deploy with Docker" section (quick start, compose, volume backups, update/rollback and registry guidance); CHANGELOG entry Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/app/datavolume, built-in healthcheck, correct PID-1 signal handlinglatest,sha-<commit>) and onv*tags (semver); PR builds act as a smoke checkGET /api/healthliveness endpoint; graceful SIGTERM/SIGINT shutdown that flushes session state before exitTesting
/api/healthverified (200{"status":"ok"})🤖 Generated with Claude Code