-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (41 loc) · 905 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
43 lines (41 loc) · 905 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
services:
qdrant:
image: qdrant/qdrant:latest
container_name: visiontext-qdrant
ports:
- "6333:6333"
- "6334:6334"
volumes:
- qdrant_storage:/qdrant/storage
networks:
- visiontext-network
restart: unless-stopped
app:
build:
context: .
dockerfile: Dockerfile
container_name: visiontext-app
ports:
- "8000:8000"
volumes:
- ./uploads:/app/uploads
- ./static:/app/static
- huggingface_cache:/root/.cache/huggingface
environment:
- QDRANT_HOST=qdrant
- QDRANT_PORT=6333
- COLLECTION_NAME=images
- EMBEDDING_DIM=768
- HF_TOKEN=${HF_TOKEN}
depends_on:
qdrant:
condition: service_started
networks:
- visiontext-network
restart: unless-stopped
networks:
visiontext-network:
driver: bridge
volumes:
qdrant_storage:
huggingface_cache: