Deploy a standard http server?
I have a standard http server packaged in a docker image. Can I run it inside a RunPod serverless environment?
Solution:Jump to solution
Soon :) We're working on something for this, I don't have a tentative date on my sheet though.
6 Replies
I've tested only http servers running in container's localhost context, but theoretically you should be able to get inspired by serverless websocket server to make them reachable from outside.
GitHub
worker-websocket/rp_handler.py at main · runpod-workers/worker-web...
Contribute to runpod-workers/worker-websocket development by creating an account on GitHub.
So if I'm not using python I have to reimplement the runpod runtime? Are there docs for this?
You just have to use handler function to start the worker, retrieve its IP and then stop it. The handler written in Python is how you interact with the worker. The thing itself running on the worker can be almost anything.
Runpod Documentation
Handler functions - Runpod Documentation
Solution
Soon :) We're working on something for this, I don't have a tentative date on my sheet though.
However it would let you put anything that responds to an HTTP request on a serverless worker.
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View