-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Expand file tree
/
Copy pathcompose.yaml
More file actions
32 lines (31 loc) · 816 Bytes
/
Copy pathcompose.yaml
File metadata and controls
32 lines (31 loc) · 816 Bytes
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
services:
f5tts_api_de:
build: .
command: python -m uvicorn f5_tts.api_server:app --host 0.0.0.0 --port 8000
ports:
- "8004:8000"
environment:
- MODEL_FILEPATH="/var/tmp/model_12600.pt"
volumes:
- /raid/shared/models/F5TTS/model_12600.pt:/var/tmp/model_12600.pt:ro
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [ gpu ]
restart: unless-stopped
f5tts_api_en:
build: .
command: python -m uvicorn f5_tts.api_server:app --host 0.0.0.0 --port 8000
ports:
- "8005:8000"
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
restart: unless-stopped