-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (39 loc) · 1001 Bytes
/
docker-compose.yml
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:
qdrant:
image: qdrant/qdrant
container_name: qdrant
ports:
- "6333:6333" # Qdrant default port
volumes:
- ./qdrant_storage:/qdrant/storage:z
diarization_app:
build:
context : .
dockerfile: pyannote/Dockerfile
container_name: diarization_app
shm_size: '1gb'
stdin_open: true
tty: true
ports :
- 8080:80
environment:
- QDRANT_HOST
- QDRANT_PORT
- QDRANT_COLLECTION_NAME
- QDRANT_RECREATE_COLLECTION
- SERVICE_MODE
- SERVICE_NAME
- SERVICES_BROKER
- CONCURRENCY
volumes:
- ./data/speakers_samples:/opt/speaker_samples # Reference Speaker samples
- ./data/test_samples:/opt/audio # Test audio file (Celery task mode)
depends_on:
- qdrant # Ensure Qdrant starts before the app
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]