Files
2026-07-23 19:38:14 -04:00

28 lines
760 B
YAML

services:
# Open-WebUI - User-friendly AI Interface
open-webui:
image: ghcr.io/open-webui/open-webui:main
container_name: open-webui
restart: unless-stopped
profiles: [ "apps", "all" ]
networks:
- default
depends_on:
- ollama
ports:
- "$OPENWEBUI_PORT:8080"
environment:
- OLLAMA_BASE_URL=http://$SERVER_LAN_IP:$OLLAMA_PORT
- WEBUI_SECRET_KEY=$OPENWEBUI_SECRET_KEY
# - CORS_ALLOW_ORIGIN=
- USER_AGENT=Open-WebUI
volumes:
- $DOCKERDIR/appdata/open-webui:/app/backend/data
# DOCKER-LABELS-PLACEHOLDER
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:3000" ]
interval: 10s
retries: 3
timeout: 10s
start_period: 30s