-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
76 lines (67 loc) · 1.46 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#version: '3.8' # docker-compose version enable to print diagram
services:
record:
build:
context: ./aClient
dockerfile: Dockerfile
ports:
- "4999:4999"
volumes:
- ./aClient:/app
transcribe:
depends_on:
- record
build:
context: ./app/VoiceToText
dockerfile: Dockerfile
volumes:
- ./app/TextToVoice/app:/text-to-voice-app
- ./app/Llm/app:/llm-app
- ./app/VoiceToText/app/audio_asset:/app/audio_asset
ports:
- "5000:5000"
llm:
depends_on:
- transcribe
build:
context: ./app/Llm
dockerfile: Dockerfile
volumes:
- ./app/Llm/app:/llm-app
- ./app/TextToVoice/app:/text-to-voice-app
ports:
- "5002:5002"
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [ gpu ]
texttovoice:
depends_on:
- transcribe
- llm
build:
context: ./app/TextToVoice
dockerfile: Dockerfile
command:
- python3
- /text-to-voice-app/voiceGen.py
volumes:
- ./app/Llm/app:/llm-app
- ./app/TextToVoice/app:/text-to-voice-app
ports:
- "5003:5003"
voicetovideo:
build:
context: ./app/VoiceToVideo
dockerfile: Dockerfile
volumes:
- ./app/VoiceToVideo/app:/SadTalker/results
ports:
- "5005:5005"
depends_on:
- transcribe
- llm
- texttovoice