-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (43 loc) · 1.03 KB
/
docker-compose.yml
File metadata and controls
45 lines (43 loc) · 1.03 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
41
42
43
44
45
services:
qdrant:
image: qdrant/qdrant
ports:
- "6333:6333"
- "6334:6334"
volumes:
- qdrant_storage:/qdrant/storage
- qdrant_snapshots:/qdrant/snapshots
environment:
- QDRANT__SERVICE__GRPC_PORT=6334
restart: unless-stopped
snapshot-generator:
build: .
ports:
- "8000:8000"
volumes:
- uploads:/app/uploads
- embeddings:/app/embeddings
- snapshots:/app/snapshots
- ./wasm:/app/wasm:ro
- ./models:/app/models:ro
- ./do_gaia_console:/app/do_gaia_console:ro
- ./.env:/app/.env
environment:
- HF_TOKEN=${HF_TOKEN:-your_hugging_face_token_here}
- QDRANT_URL=http://qdrant:6333
- MAX_FILE_SIZE=10485760
- HF_DATASET_NAME=thenocode/gaia-console
depends_on:
- qdrant
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/"]
interval: 30s
timeout: 10s
retries: 3
volumes:
uploads:
embeddings:
snapshots:
qdrant_storage:
qdrant_snapshots: