-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (33 loc) · 819 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
35 lines (33 loc) · 819 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
33
34
35
name: stream-talker-server
services:
stream-talker-server:
image: virtualzer0/stream-talker-server:v1.0.0
container_name: stream-talker-server
ports:
- "7860:7860"
volumes:
- stream-talker-server-data:/data
environment:
- NVIDIA_VISIBLE_DEVICES=all
deploy:
resources:
limits:
cpus: '0.70'
memory: 4G
reservations:
cpus: '0.25'
memory: 1024M
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7860/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
volumes:
stream-talker-server-data:
name: stream-talker-server-data