forked from rmusbuss/AAA-ML-Blur-Project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (38 loc) · 847 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
version: "3"
services:
blur-frontend:
build:
context: .
dockerfile: docker/frontend/Dockerfile
ports:
- "8080:8080"
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
environment:
- NVIDIA_VISIBLE_DEVICES=all
image: blur-frontend:0.1.0
blur-backend:
build:
context: .
dockerfile: docker/backend/Dockerfile
ports:
- "8000:8000"
- "8001:8001"
- "8002:8002"
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
volumes:
- ./blur/backend/triton_server/models:/models
environment:
- NVIDIA_VISIBLE_DEVICES=all
image: blur-backend:0.1.0