-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
58 lines (54 loc) · 1.13 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
version: '3.8'
services:
g4lwebsockets:
image: thecollabagepatch/g4lwebsockets:latest
build:
context: .
dockerfile: Dockerfile.g4lwebsockets
ports:
- "8000:8000"
environment:
- ENV_VARIABLE=value
depends_on:
- redis
- mongo
- melodyflow
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
melodyflow:
image: thecollabagepatch/melodyflow:latest
ports:
- "8002:8002"
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8002/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
redis:
image: thecollabagepatch/redis:latest
build:
context: .
dockerfile: Dockerfile.redis
ports:
- "6379:6379"
mongo:
image: "mongo:latest"
ports:
- "27017:27017"
volumes:
- mongo-data:/data/db
volumes:
mongo-data: