-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
24 lines (23 loc) · 800 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
24 lines (23 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
services:
agent:
build: .
image: starter-agent:latest
ports:
- "8000:8000"
environment:
# Leave unset to run fully offline with the MockLLM + local embeddings.
# Uncomment to use a real model (works with any OpenAI-compatible API):
# - OPENAI_API_KEY=${OPENAI_API_KEY}
# - OPENAI_BASE_URL=${OPENAI_BASE_URL:-https://api.openai.com/v1}
# - AGENT_MODEL=${AGENT_MODEL:-gpt-4o-mini}
#
# Set API_KEY to require auth on protected endpoints (for public deploys).
# Clients pass it as `Authorization: Bearer <key>` or `X-API-Key: <key>`.
# - API_KEY=${API_KEY}
- RAG_DIR=/data/chroma
volumes:
# Persist the vector store across restarts.
- agent-data:/data
restart: unless-stopped
volumes:
agent-data: