59f529e3a7
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
30 lines
737 B
YAML
30 lines
737 B
YAML
services:
|
|
open-webui:
|
|
image: ghcr.io/open-webui/open-webui:main
|
|
container_name: open-webui
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3010:8080"
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
- TZ=America/Chicago
|
|
- OLLAMA_BASE_URL=http://192.168.86.196:11434
|
|
volumes:
|
|
- /mnt/docker-data/configs/openwebui:/app/backend/data
|
|
mem_limit: 1G
|
|
memswap_limit: 1G
|
|
labels:
|
|
- "com.centurylinklabs.watchtower.enable=false"
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "curl -sf http://localhost:8080/health || exit 1"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 60s
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "50m"
|
|
max-file: "3"
|