-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
67 lines (63 loc) · 1.35 KB
/
docker-compose.yml
File metadata and controls
67 lines (63 loc) · 1.35 KB
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
services:
# TTS Service 1: Thorsten (German Male)
thorsten:
build:
context: ./thorsten
dockerfile: Dockerfile
container_name: thorsten
restart: unless-stopped
ports:
- "5002:5002"
deploy:
resources:
limits:
memory: 6G
volumes:
- thorsten_models:/root/.local/share/tts
# TTS Service 2: CSS10 (German Female)
css10:
build:
context: ./css10
dockerfile: Dockerfile
container_name: css10
restart: unless-stopped
ports:
- "5003:5003"
deploy:
resources:
limits:
memory: 6G
volumes:
- css10_models:/root/.local/share/tts
proxy:
build: ./proxy
container_name: proxy
restart: unless-stopped
ports:
- "3000:3000"
environment:
- PORT=3000
- API_KEY=${API_KEY}
- TTS_TYPE=coqui
- TTS_THORSTEN_URL=http://thorsten:5002
- TTS_CSS10_URL=http://css10:5003
env_file:
- .env
depends_on:
- thorsten
- css10
# Cloudflare Tunnel
cloudflared:
image: cloudflare/cloudflared:latest
container_name: cloudflared
restart: unless-stopped
command: tunnel --config /etc/cloudflared/config.yml run
volumes:
- ./cloudflared:/etc/cloudflared
depends_on:
- proxy
networks:
- default
volumes:
thorsten_models:
css10_models: