-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (36 loc) · 1.46 KB
/
docker-compose.yml
File metadata and controls
39 lines (36 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Before first run — pick ONE mode:
#
# EMBEDDED mode (OV runs in-process):
# cp ov.conf.example ov.conf # then fill in your embedding API keys
#
# HTTP mode (OV runs as a separate service):
# cp ov.conf.example ov.conf # keep as-is — file never read in HTTP mode
# echo "OV_BASE_URL=http://your-ov-host:8080" >> .env
services:
curator:
build: .
env_file:
- path: .env
required: false
volumes:
# ov.conf provides embedding model config for EMBEDDED mode.
# HTTP mode: file is mounted but never read (harmless).
# Must exist on host — see setup note above (cp ov.conf.example ov.conf).
- ./ov.conf:/app/ov.conf:ro
# Persistent state: OV knowledge base + Curator session/feedback data
- curator-data:/app/data
environment:
CURATOR_DATA_PATH: /app/data
OV_DATA_PATH: /app/data/ov
CURATOR_CURATED_DIR: /app/data/curated
# Embedded mode: OV reads this config for the embedding provider.
# HTTP mode: ignored (AsyncOpenViking never instantiated).
OPENVIKING_CONFIG_FILE: /app/ov.conf
# HTTP mode: uncomment and set OV_BASE_URL in .env instead of here.
# OV_BASE_URL: http://your-ov-host:8080
# Quick-start commands:
# docker compose run --rm curator curator_query.py --status
# docker compose run --rm curator curator_query.py "your question"
# docker compose run --rm -T curator mcp_server.py # MCP stdio
volumes:
curator-data: