65 lines
1.5 KiB
YAML
65 lines
1.5 KiB
YAML
services:
|
|
open-webui:
|
|
image: ghcr.io/open-webui/open-webui:main
|
|
container_name: open-webui
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
- "82:8080"
|
|
|
|
environment:
|
|
# Ollama connection (direct - fallback)
|
|
- OLLAMA_BASE_URL=http://192.168.86.149:11434
|
|
|
|
# Tatlock AI Orchestrator (OpenAI-compatible endpoint)
|
|
- OPENAI_API_BASE_URLS=http://core-api:8083/v1
|
|
- OPENAI_API_KEYS=dummy
|
|
|
|
# Default model
|
|
- DEFAULT_MODELS=gemma3:12b
|
|
|
|
# Enable features
|
|
- ENABLE_RAG_WEB_SEARCH=true
|
|
- ENABLE_OLLAMA_API=true
|
|
- WEBUI_AUTH=true
|
|
|
|
# Web search configuration
|
|
- RAG_WEB_SEARCH_ENGINE=duckduckgo
|
|
|
|
# RAG & Vector Database - Qdrant for conversation memory
|
|
- VECTOR_DB=qdrant
|
|
- QDRANT_URI=http://qdrant:6333
|
|
- RAG_EMBEDDING_ENGINE=ollama
|
|
- RAG_EMBEDDING_MODEL=nomic-embed-text
|
|
- RAG_EMBEDDING_MODEL_AUTO_UPDATE=true
|
|
|
|
# Enable native memory feature
|
|
- ENABLE_MEMORY=true
|
|
- MEMORY_COLLECTION_NAME=open-webui_memories
|
|
|
|
# Session settings
|
|
- WEBUI_SESSION_COOKIE_SAME_SITE=lax
|
|
- WEBUI_SESSION_COOKIE_SECURE=false
|
|
|
|
volumes:
|
|
- /home/jpmschweitzer/docker-data/open-webui:/app/backend/data
|
|
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '1.0'
|
|
memory: 1G
|
|
reservations:
|
|
memory: 512M
|
|
|
|
networks:
|
|
- docker-dataplane
|
|
|
|
labels:
|
|
- "com.centurylinklabs.watchtower.enable=true"
|
|
|
|
networks:
|
|
docker-dataplane:
|
|
external: true
|
|
name: docker-dataplane
|