-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathdocker-compose.yml
35 lines (35 loc) · 929 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
version: '3.8'
services:
sadtalker:
image: paidax/faster-sadtalker-api:0.1.3
container_name: sadtalker
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
volumes:
- ./checkpoints:/home/SadTalker/checkpoints
- ./gfpgan/weights:/home/SadTalker/gfpgan/weights
- ./results:/home/SadTalker/results
ports:
- 10364:10364
environment:
- TTS_SERVER=http://tts:9566/tts
command: uvicorn main:app --reload --port 10364 --host 0.0.0.0
tts:
container_name: tts
image: paidax/tts_modelscope:0.1.3
ports:
- 9566:9566
restart: always
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
command: uvicorn main:app --reload --port 9566 --host 0.0.0.0