binding services to a sandbox
hey folks, supposing I wanted to bind a sandbox to an internal service (separate DO), is that possible? I was digging around the docs and didn't find anything too promising, but wanted to double check here.
basically I want to be able to do something like:
worker → create sandbox, execute commands in a loop → sandbox-backend (handles things like auth)
4 Replies
The container would have to call back to its own DO, and then the DO can call out to other services. There is no mechanism for a container to call directly to another service, like a DO, at the moment
got it, thank you!
👋 Hey so just FYI that work around this area is in flight now.
First step is just goint to be "I hit a configurable hostname/IP from inside the container and it calls to a specific function in the associated DO". - That'll give you the ability to route the request wherever you want and/or call other CF/Workers services.
But right now you have to go back thru the "front door" of a Worker and route to the service that way.
got it thank you!
yeah that would be super nice
@Mike Nomitch | Workers PM any idea when this might land? I'd love to kick the tires on any sort of beta feature for it