-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (37 loc) · 1.24 KB
/
Copy pathdocker-compose.yml
File metadata and controls
40 lines (37 loc) · 1.24 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
40
services:
feedback-agent:
build: .
ports:
- "8000:8000"
environment:
FEEDBACK_AGENT_DATA_PATH: data/sample_feedback.csv
FEEDBACK_AGENT_INDEX_PATH: .artifacts/vector_store.json
FEEDBACK_AGENT_LLM_PROVIDER: local
# Allow the frontend container/dev server origins to call the API.
FEEDBACK_AGENT_CORS_ALLOW_ORIGINS: "http://localhost:4173,http://localhost:5173,http://127.0.0.1:4173,http://127.0.0.1:5173"
volumes:
- ./.artifacts:/app/.artifacts
# Minimal TypeScript + Vite demo frontend served by `vite preview`.
frontend:
build:
context: ./frontend
args:
# Baked into the static bundle at build time; points the browser at the
# backend published on the host (the API runs on the host network port).
VITE_API_BASE_URL: http://localhost:8000
ports:
- "4173:4173"
depends_on:
- feedback-agent
# Optional local vector database. The app defaults to the JSON store and only
# uses Qdrant when FEEDBACK_AGENT_VECTOR_STORE=qdrant. Start it with:
# docker compose up qdrant
qdrant:
image: qdrant/qdrant:latest
ports:
- "6333:6333"
- "6334:6334"
volumes:
- qdrant_storage:/qdrant/storage
volumes:
qdrant_storage: