mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #1502] not supported when changing ollama port #12524
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 @choigawoon on GitHub (Apr 11, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/1502
Bug Report
Description
webui cannot access to ollama api.
this is my docker compose file.
Bug Summary:
[Provide a brief but clear summary of the bug]
Steps to Reproduce:
[Outline the steps to reproduce the bug. Be as detailed as possible.]
Expected Behavior:
[Describe what you expected to happen.]
when changing expose port, it link with it.
Actual Behavior:
[Describe what actually happened.]
Environment
wsl2 Ubuntu 22.04
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
[Include relevant Docker container logs, if applicable]
Screenshots (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Installation Method
[Describe the method you used to install the project, e.g., manual installation, Docker, package manager, etc.]
Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
@ghost commented on GitHub (Apr 11, 2024):
Hi,
Your environment looks incorrect, see:
0399a69b73/docker-compose.yaml (L27-L29)Try something like
- 'OLLAMA_BASE_URL=http://ollama:7869'@slash-proc commented on GitHub (Apr 11, 2024):
I think a few issues are colliding together here. The OLLAMA_BASE_URL should just be
http://ollama:11434because the ollama container will not be reachable from port 7869 from the open-webui container.Also the /api at the end of the URLs indicates an outdated open-webui. What version of both are actually running? Try doing a docker compose pull before starting the two to make sure you're up-to-date.
@choigawoon commented on GitHub (Apr 11, 2024):
i used the repo was https://github.com/valiantlynx/ollama-docker.
now i use the docker compose file in this repo, and have some fix. it worked now! thanks a lot!