Repository navigation
Self-Hosting: work from a fresh clone, and add a Cloudflare free-plan page - #123
Merged
Merged
Conversation
Clone with submodules, build before running the env script, and drop -f from docker compose now that .env sets COMPOSE_FILE (prosopo/captcha#3587). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✅ Deploy Preview for peaceful-pothos-9e62ce ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
A provider on any machine with Docker, fronted by a Worker on workers.dev that forwards to it through a Cloudflare Tunnel. Matches prosopo/captcha's new docker/cloudflare template and generateSelfHostedEnv.ts --cloudflare. Co-Authored-By: Claude Opus 5.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.
What changed
Two things on the Self-Hosting docs.
1. The main page now works from a fresh clone (matches prosopo/captcha#3587, merged). I followed it from a brand new clone and three steps broke:
--recurse-submodules. Without thefingerprintjssubmodule, the build fails.pnpm run build:allnow runs in step 1. The env script needs the built packages.-fflag is gone fromdocker composecommands. The generated.envnow setsCOMPOSE_FILE.2. A new page: Self-Hosting on Cloudflare's Free Plan. It's for anyone without a server that has a public IP. Your provider runs on any machine with Docker. A Worker on your free
workers.devaddress serves the widget and forwards requests to the provider through a Cloudflare Tunnel. You don't need a domain, open ports or certificates. The main page links to it.Effect
Self-hosting no longer needs a server or a domain, only a free Cloudflare account and a machine that can run Docker.
Merge order
Merge after the captcha PR that adds
docker/cloudflare/andgenerateSelfHostedEnv.ts --cloudflare. The new page tells readers to use both.Test coverage
Docs only. The site builds and every link between the two pages resolves. Every step on the new page was run from a fresh clone against real Cloudflare: a tunnel, a VPC service, the Worker on workers.dev, and the published 3.8.38 provider image.
@prosopo/serververification.🤖 Generated with Claude Code