How to Connect Open WebUI in Docker to a Local Website?

0
17
Asked By TechyGuru99 On

Hey everyone! I'm currently running Open WebUI in a Docker container and I want to enable web search functionality. It seems like my container isn't connected to the internet yet. How can I set this up so that Open WebUI can search the web?

To give you a bit more context, I'm also running Ollama on my PC, and my Docker container with Open WebUI is linked to it, allowing me to use LLMs from Ollama. Now, I specifically want to connect Open WebUI to a website that's hosted within my network. Is it possible for Open WebUI or Ollama to pull information from that internal site? Any guidance would be appreciated!

2 Answers

Answered By DockerNinja7 On

I think you've got a solid plan! To get Open WebUI connected to your local website, you might need to ensure the Docker container has proper networking access. Make sure it's set to use the host network mode if you want it to reach services on your internal network. This way, it should be able to access your internal website, assuming everything else is properly configured. Good luck!

Answered By HelpfulCoder84 On

Connecting Open WebUI for web search is pretty straightforward! Just head over to Admin Settings and look for the Web Search option. From there, you can enable web search. I’d suggest using DuckDuckGo since it doesn't require an API key, which is a bonus. Once enabled, just save the changes, and whenever you start a new conversation, hit the 'Web Search' button to access search engines.

As for connecting to your company’s internal website, could you share a bit more about what you’re planning? Knowing your overall goal would help in giving you the best advice!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.