26 lines
621 B
YAML
26 lines
621 B
YAML
services:
|
|
open-webui:
|
|
image: ghcr.io/open-webui/open-webui:main
|
|
container_name: open-webui
|
|
network_mode: host
|
|
restart: always
|
|
volumes:
|
|
- open-webui:/app/backend/data
|
|
environment:
|
|
- OLLAMA_BASE_URL=http://127.0.0.1:11434
|
|
- PORT=8080
|
|
- SCARF_NO_ANALYTICS=true
|
|
- DO_NOT_TRACK=true
|
|
- ANONYMIZED_TELEMETRY=false
|
|
- WHISPER_MODEL=base
|
|
- DOCKER=true
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "curl --silent --fail http://localhost:8080/health || exit 1"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
|
|
volumes:
|
|
open-webui:
|
|
external: true
|