mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-04 16:00:10 -05:00
I would like to change the OLLAMA address while the container is running. #1516
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JayCroghan on GitHub (Jul 13, 2024).
Is your feature request related to a problem? Please describe.
Everytime my machine with Ollama reboots it gets a different IP address. Everything is internal. I would like a way to change the Ollama server address without having to restart the docker container.
Describe the solution you'd like
Some way of setting it, I could write a bash script to do it with an API to run from the Ollama machine if that were possible? Or some other way to set the IP from the other internal machine running Ollama.
Describe alternatives you've considered
So far I just stop, remove and run the container again with different parameters.
Additional context
Maybe there is some solution with some internal DNS I don't know about where I could give my dynamically changing machine a DNS entry that updates?
I cannot use port forwarding on my router because the internal IP always changes of the ollama server. I sometimes switch between a different internet connection for that machine using a hard switch to switch between an Edge router and my normal internet.