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

How tu run whodb with Ollama as a Docker container? #99

Closed
saschabrockel opened this issue Aug 23, 2024 · 4 comments
Closed

How tu run whodb with Ollama as a Docker container? #99

saschabrockel opened this issue Aug 23, 2024 · 4 comments

Comments

@saschabrockel
Copy link

saschabrockel commented Aug 23, 2024

I have Ollama running as a Docker container with the default config and port. whodb does not detect it and there is no option to tell it where it has to look. Is there anything I can do or does it need to be implemented? Of course, I run whodb as a Docker container as well. Both containers run on the same Docker network.

@hkdeman
Copy link
Contributor

hkdeman commented Aug 23, 2024

Helloooo, thank you trying out the ollama integration!

We just rolled out the fix for this issue in the PR: #101

We have further provided two environment variables to override the host and port below:

  • WHODB_OLLAMA_HOST
  • WHODB_OLLAMA_PORT

Hope this helps your use case. Do let us know how we can further improve the integration :) We would love feedback.

@saschabrockel
Copy link
Author

Hey. A thing I would like to have is a version number at least in the info logs at the start and even better somewhere small and tiny on the Web UI. Currently I don't know which version is installed and if it is the latest for example.

@saschabrockel
Copy link
Author

Helloooo, thank you trying out the ollama integration!

We just rolled out the fix for this issue in the PR: #101

We have further provided two environment variables to override the host and port below:

  • WHODB_OLLAMA_HOST
  • WHODB_OLLAMA_PORT

Hope this helps your use case. Do let us know how we can further improve the integration :) We would love feedback.

This works with Docker! Used ollama (container name) as host variable and the normal port of the container (11434) as port.

@hkdeman
Copy link
Contributor

hkdeman commented Aug 23, 2024

Glad it works! Would love if there is any feedback you have :)

Also, will add the version on the UI as a backlog. We will roll it out hopefully soon.

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