-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
116 lines (108 loc) · 2.53 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
version: '3.8'
services:
nats_local:
image: nats:2.9.19
ports:
- "4222:4222"
- "8088:8088"
- "6222:6222"
command: "-js -c /nats/nats.conf --name nats_local -p 4222"
# command: "-js"
volumes:
- ./services/nats/nats.conf:/nats/nats.conf
- nats_data1:/data
rasa:
restart: always
container_name: rasa-container
image: rasa/rasa:3.6.4-full
ports:
- "5005:5005"
volumes:
- ./generated/rasa:/app
- ./generated/models:/models
env_file:
- .env
command: run --enable-api --cors "*" --debug -m /models/${RASA_MODEL}
#command: run --help
action_server:
restart: always
container_name: actionServer
build:
context: .
dockerfile: Dockerfile
ports:
- "5055:5055"
volumes:
- ./client:/app/client
- ./src:/app/src
- ./common:/app/common
tortise_cache:
restart: always
container_name: tortiseCache
build:
context: .
dockerfile: Dockerfile.tortiseCache
volumes:
- ./cache:/app/cache
- ./src:/app/src
- ./common:/app/common
webapp:
restart: always
container_name: webapp
build:
context: ./services/webapp
dockerfile: Dockerfile
ports:
- "3000:3000"
volumes:
- ./services/webapp/:/app
stt:
environment:
- CUDA_LAUNCH_BLOCKING=1
build:
context: ./services/stt
dockerfile: Dockerfile
volumes:
- /data/voice:/data/voice
- /data/ai-voice-cloning:/data/ai-voice-cloning
- ~/.cache:/root/.cache/
- ~/.ssh:/root/.ssh
deploy:
# mode: replicated
# replicas: 4
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [ gpu ]
# tts-piper:
# restart: always
# container_name: tts-piper
# build:
# context: ./services/tts_piper
# dockerfile: Dockerfile
tts-tortise:
environment:
- CUDA_LAUNCH_BLOCKING=1
- PYTORCH_CUDA_ALLOC_CONF=backend:native
build:
context: ./services/ai-voice-cloning
dockerfile: Dockerfile
volumes:
- /data/voice:/data/voice
- /data/ai-voice-cloning:/data/ai-voice-cloning
- ~/.cache:/root/.cache/
- ~/.ssh:/root/.ssh
- ./services/ai-voice-cloning:/home/user/ai-voice-cloning
ports:
- "7680:7680"
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [ gpu ]
volumes:
nats_data1: