1
0
Files
ollama/compose.yml

34 lines
735 B
YAML

services:
ai-ollama:
container_name: ai-ollama
image: ollama/ollama
env_file: .env
volumes:
- ./.data/ollama:/root/.ollama
ports:
- "${OLLAMA_PORT:-11434}:11434"
restart: "no"
ai-qdrant:
container_name: ai-qdrant
image: qdrant/qdrant
env_file: .env
ports:
- "${QDRANT_PORT:-6333}:6333"
volumes:
- ./.data/qdrant/storage:/qdrant/storage
restart: "no"
profiles: ["rag"]
ai-webui:
container_name: ai-webui
image: ghcr.io/open-webui/open-webui:main
env_file: .env
volumes:
- ./.data/webui:/app/backend/data
ports:
- "${OWEBUI_PORT:-9999}:8080"
extra_hosts:
- "host.docker.internal:host-gateway"
restart: "no"