-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
51 lines (46 loc) · 917 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
41
42
43
44
45
46
47
48
49
50
51
version: '3.8'
services:
app:
image: app
container_name: app
restart: always
environment:
- SR_TG_URL=http://sr_tg:8080
- TTS_URL=http://tts:8000
networks:
- dunno_app
ports:
- "5000:5000"
sr_tg:
image: sr_tg
container_name: sr_tg
restart: always
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
networks:
- dunno_app
ports:
- "8080:8080"
tts:
image: tts
container_name: tts
restart: always
command: ["/bin/bash", "-c", "yes | uvicorn main:app --host 0.0.0.0 --port 8000"]
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
networks:
- dunno_app
ports:
- "8000:8000"
networks:
dunno_app: