Official Docker / standalone workerd packaging for self-hosting? #35
Replies: 2 comments
|
Howdy! Maintainer here: you can fully run everything locally today but there are a few gaps when it comes to "running in production". I believe the primary work Kenton is looking to land is cloudflare/workerd#6780 , which allows you to run any workerd project (including but not limited to cloudflare-os) in more of a clustered/HA setup. I'm sure there are a few more gaps, but that is top of mind. Stay tuned! This is absolutely something the whole team want to be fully open with. |
|
I'm really looking forward to the official standalone workerd self-hosting support. I've been testing Cloudflare OS on a small always-on Debian 13 home server.
I've also confirmed that ExternalServer over a Unix socket works well for connecting workerd to a local Authority Gateway without enabling unrestricted private-network fetches. I now have native workerd + the Gateway running under systemd with successful reboot recovery. So I'm very interested in how the official self-hosting tooling will handle the multi-Worker configuration, persistence, bindings, and startup model. I'd be very happy to test it on a small always-on home server as soon as it becomes available. Thanks for working on this! |
Uh oh!
There was an error while loading. Please reload this page.
The README says self-hosting on your own server via
workerdis "COMING SOON", and Kenton confirmed the intent directly on the HN launch thread:Right now the only two paths in the repo are
pnpm run-local(wrangler dev— the README itself says this "is not meant for production use") andwrangler deploy(pushes straight to a Cloudflare account). There's no config anywhere for running the ~16 services (workshop-backend + all the gatekeeper workers) as standaloneworkerdoutside either of those.Given the intent is clearly there, a couple of questions:
workerdconfig work, or is Docker specifically out of scope even once the standalone-workerdstory lands?workerdcapnp config generation, Durable Object persistence outside wrangler's dev simulation, or something else (e.g. Dynamic Workers/Worker Loader behavior outside Cloudflare's edge)?Not trying to rush anything — just trying to understand what "coming soon" actually depends on, since a few of us are interested in running this on our own infrastructure.
All reactions