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: