Skip to content
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

why run "just convex env set OLLAMA_HOST http://localhost:11434" result of "grep: .env.local no such file ordirectory" #248

Closed
cnisno1ok opened this issue Jul 31, 2024 · 1 comment

Comments

@cnisno1ok
Copy link

I tried using VMware for project deployment

@ianmacartney
Copy link
Collaborator

I'm not sure what the question is, but I'll explain a bit in case that helps.

Running just convex env set OLLAMA_HOST will set an environment variable in the convex backend. This env variable is pointing to the location where you're running ollama. If you're running it locally that's typically http://localhost:11434. However if you're running the backend in a container, you need to either expose the local port, or find a way for it to route to the ollama server. I don't know enough about vmware to advise on how.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants