Repository navigation
Self-hosted Docker deploy: move Krater off weft behind a Cloudflare Tunnel - #100
Draft
Adambomb210 wants to merge 1 commit into
Draft
Adambomb210 wants to merge 1 commit into
Adambomb210 wants to merge 1 commit into
Conversation
… Cloudflare Tunnel weft's internet and DNS drop out (2026-11-19 18:06Z), and every drop stalls the scheduler and running boxes' reports. deploy/selfhost/ runs the same containers on any Ubuntu box with Docker: - compose.yml: CI's image of one commit (no builds), Postgres 18 (skein's version) with the restored `krater` schema, SeaweedFS 4.47 with a volume cap, cloudflared, a daily dump; data in bind mounts under KRATER_DIR. migrate keeps weft's rule that an older release on a newer database starts without migrating. - krater-follow + systemd timer: deploys the production branch like krater-prod-follow (on main, all checks green, dump first, health by revision, falls back to the previous release). - README: the box, what Jasper hands over, a compute-off dry run, a store pre-copy with rclone, the cutover order (weft's scheduler stops before the final dump: one scheduler per label prefix), DNS, checks, going back, and staging. Tested locally on Docker Desktop: the stack at 44c346c answers /healthz and /healthz/worker; a --schema=krater dump of a skein-like patchwork_central restores into the box's db and migrate finds nothing to do. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This branch has not been deployed
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.
Prep for moving Krater production (later staging) off weft onto one Ubuntu box with Docker, reached through a Cloudflare Tunnel. Nothing deploys from this PR: it adds
deploy/selfhost/(compose, follow timer, cutover README) and a pointer fromdocs/dev/production.md. See the commit message for details and what was tested locally; the follow script end to end, the tunnel and the real box are not tested yet.🤖 Generated with Claude Code