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

[Bug] The docker-compose.yaml don't allow to use already installed ollama #641

Closed
commitcompanion opened this issue Aug 21, 2024 · 2 comments

Comments

@commitcompanion
Copy link

Describe the bug

The dockercontainer has its own ollama service. It conflicts with the ollama on my system, so i tried to disable the container internal service and enable the system ollama service. Now the ui backend is not working. Is it possible to make two alternative compose files, one with own ollama service in docker and the other with the docker installed on the system?

How To Reproduce

Steps to reproduce the behavior (example):
ve installed ollama running and do the Expected behaivior steps

Expected behavior

Clone the repo
Run $ ollama serve
Run $docker-compose build
Run $docker-compose run
Open a webbrowser and type localhost:3000

Screenshots and logs

Error before changes:
image

Ollama server:
image
Ui after changes:
image
modified docker-compose.yml
image

Configuration

- Linux, docker compose


#### Additional context
-----
@hqnicolas
Copy link

@commitcompanion
Copy link
Author

will try it out.
thank you

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