mirror of
https://github.com/open-webui/oikb.git
synced 2026-07-09 16:00:53 +00:00
validate --deep pings Open WebUI API to verify connectivity, API key validity, and that each KB ID exists. Catches config errors before deployment. Also applies defaults and env var interpolation in validate (was missing). docker-compose.yaml updated from stale watch mode to production daemon mode with healthcheck, LOG_FORMAT, and OIKB_API_KEY.
30 lines
693 B
YAML
30 lines
693 B
YAML
services:
|
|
open-webui:
|
|
image: ghcr.io/open-webui/open-webui:main
|
|
ports:
|
|
- "3000:8080"
|
|
volumes:
|
|
- open-webui:/app/backend/data
|
|
|
|
oikb:
|
|
image: ghcr.io/open-webui/oikb:latest
|
|
environment:
|
|
- OPEN_WEBUI_URL=http://open-webui:8080
|
|
- OPEN_WEBUI_API_KEY=${OPEN_WEBUI_API_KEY}
|
|
- OIKB_API_KEY=${OIKB_API_KEY}
|
|
- LOG_FORMAT=json
|
|
volumes:
|
|
- ./.oikb.yaml:/app/.oikb.yaml:ro
|
|
command: daemon
|
|
ports:
|
|
- "8080:8080"
|
|
depends_on:
|
|
- open-webui
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8080/health/ready"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
|
|
volumes:
|
|
open-webui:
|