devika icon indicating copy to clipboard operation
devika copied to clipboard

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

Open commitcompanion opened this issue 1 year ago • 0 comments
trafficstars

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
-----

commitcompanion avatar Aug 21 '24 11:08 commitcompanion