WarySloth
RRunPod
•Created by WarySloth on 2/20/2024 in #⚡|serverless
How do I expose my api key and use CORS instead?
I want to make it so that all requests from a domain to my serverless endpoint are allowed. I suppose I don't mind exposing my api key if I can make it so that only requests from a certain domain are allowed, right?
How would I do this? I want to serve a Comfy workflow on a serverless endpoint and I think I can use https://github.com/blib-la/runpod-worker-comfy to set up the endpoint itself. It would be really helpful if a) someone could let me know if this is possible, and if so b) outline the general steps I need to do to accomplish it.
104 replies
Python3.8.10 and Venv
How do I start a pod where I run a specific distribution of python (3.8.10, not just the default version in apt list, 3.8.18) and create a venv on it? I've tried to do it multiple times, but every time I start a new pod, I lose access to python3.8 and pip. This is despite the fact that I am running my pods on a network volume, so I still see the venv, but the python installation seems to disappear. Would really appreciate some help on this!
3 replies