openwebui-oikb/docker-compose.yaml
Timothy Jaeryang Baek e3c59f1b03 init
2026-05-20 13:19:16 +04:00

23 lines
535 B
YAML

services:
open-webui:
image: ghcr.io/open-webui/open-webui:main
ports:
- "3000:8080"
volumes:
- open-webui:/app/backend/data
# One-shot sync on container start, then watch for changes
oikb:
image: ghcr.io/open-webui/oikb:latest
environment:
- OPEN_WEBUI_URL=http://open-webui:8080
- OPEN_WEBUI_API_KEY=${OPEN_WEBUI_API_KEY}
volumes:
- ./docs:/data
command: watch /data --kb ${KB_ID}
depends_on:
- open-webui
restart: unless-stopped
volumes:
open-webui: