-
Notifications
You must be signed in to change notification settings - Fork 499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do you set environment variables? #1627
Comments
Thanks for reporting. Cog's support for env/secrets at build time and run time is not yet well documented. Can you share a bit more detail about what you're trying to accomplish? If you want to set environment variables when running a model (not building), you can pass the If you want to inject secrets into your built image, see https://github.com/replicate/cog/blob/main/docs/private-package-registry.md |
Thanks. I am trying to trying to set the |
I see. Are you running Cog on your own infrastructure and wanting to be able to send webhooks? |
Yes I am. The webhooks are all working fine. I just would like to be able to set this |
There is a page listing out all the environment variables but no reference in the docs about cog.yaml about where and how these should be included.
I've tried to figure it out from old PRs but couldn't find anything conclusive.
The text was updated successfully, but these errors were encountered: