mirror of
https://github.com/open-webui/oikb.git
synced 2026-07-09 16:00:53 +00:00
23 lines
535 B
YAML
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:
|