Repository navigation
Track A: self-host release — Docker, config check, health page, releases - #7
Merged
Merged
Conversation
…ckups, releases - Dockerfile (standalone Next, node:22-slim, non-root), docker-compose.yml with an optional Caddy TLS profile, migrations at start, refuse to start on a config error. - checkConfig()/instanceHealth() in packages/server; /setup/health for instance admins. - scripts/backup.mjs (VACUUM INTO), scripts/selfhost-check.sh, pnpm deploy:cf. - CI: docker job runs the self-host exit check; release.yml publishes to GHCR on tags; dco.yml checks sign-offs (decision 024). smoke fails above 10 MiB gzipped. - README, CONTRIBUTING, SECURITY, CODE_OF_CONDUCT, CHANGELOG, templates, guide. - E2E outbox helper waits for a newer email, so a second sign-in never reads an old code. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01T7sHybpLbFAyRXzPFkfWun Signed-off-by: Erik Goins <erikgoins@gmail.com>
Docker's port proxy resets the connection (curl exit 56) before the server listens. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01T7sHybpLbFAyRXzPFkfWun Signed-off-by: Erik Goins <erikgoins@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01T7sHybpLbFAyRXzPFkfWun Signed-off-by: Erik Goins <erikgoins@gmail.com>
Signed-off-by: Erik Goins <erikgoins@gmail.com> # Conflicts: # docs/STATE.md
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.
Roadmap Track A (decisions 023, 024). Makes Gitwork self-hostable from the README.
What
Dockerfile(standalone Next,node:22-slim, non-root),docker-compose.ymlwith an optional Caddy TLS profile. Migrations run at start; a configuration error stops the container and names the variable.checkConfig()inpackages/server, logged at every production start on Node./setup/healthfor instance admins: version, runtime, driver, config problems, GitHub App, installations, last webhook, last reconcile.node backup.mjs <file>in the container (VACUUM INTO, safe while running).pnpm deploy:cf(build, migrate D1, deploy).v*.*.*→ghcr.io/flywheelstudio/gitwork(amd64 + arm64) + GitHub Release.docs/self-host/guide. Starter SVGs removed.pnpm smokefails above 10 MiB gzipped (decision 022 follow-up). Today: 3,496 KiB.Tested
pnpm lint,pnpm typecheck,pnpm test(368 passed),pnpm test:e2e(7 passed),pnpm smoke(both runtimes): all pass locally.scripts/selfhost-check.sh(health, email-code sign-in,/setup,/setup/health); backup works and refuses to overwrite.docker build— no Docker on the dev machine. The new CIdockerjob is the first real image build.Not in this PR
Merge after #5 and #6: STATE.md and INDEX.md will need a small conflict fix.
🤖 Generated with Claude Code
https://claude.ai/code/session_01T7sHybpLbFAyRXzPFkfWun