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

update docker compose.yml ollama host and make network consistent #104

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
backend:
image: nilsherzig/llocalsearch-backend:latest
environment:
- OLLAMA_HOST=${OLLAMA_HOST:-host.docker.internal:11434}
- OLLAMA_HOST=${OLLAMA_HOST:-http://host.docker.internal:11434}
- CHROMA_DB_URL=${CHROMA_DB_URL:-http://chromadb:8000}
- SEARXNG_DOMAIN=${SEARXNG_DOMAIN:-http://searxng:8080}
- EMBEDDINGS_MODEL_NAME=${EMBEDDINGS_MODEL_NAME:-nomic-embed-text:v1.5}
Expand All @@ -30,7 +30,7 @@ services:
image: docker.io/library/redis:alpine
command: redis-server --save 30 1 --loglevel warning
networks:
- searxng
- llm_network
volumes:
- redis-data:/data
cap_drop:
Expand All @@ -43,7 +43,6 @@ services:
searxng:
image: docker.io/searxng/searxng:latest
networks:
- searxng
- llm_network
volumes:
- ./searxng:/etc/searxng:rw
Expand All @@ -64,9 +63,6 @@ services:
networks:
llm_network:
driver: bridge
searxng:
ipam:
driver: default

volumes:
redis-data: