-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
46 lines (41 loc) · 1.52 KB
/
docker-compose.yaml
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
version: "3.8"
services:
triton_service:
image: nvcr.io/nvidia/tritonserver:21.09-py3
networks:
- microservices
ports:
- 8000:8000
- 8001:8001
- 8002:8002
#command: sh -c "cd /workspace/triton_service/requests_jasper && sh scripts/install_dependencies.sh && sh scripts/deploy_jasper.sh && tritonserver --model-repository=models && tail -f /dev/null"
# entrypoint: ["cd /workspace/triton_service/requests_jasper", "sh scripts/install_dependencies.sh", "sh scripts/deploy_jasper.sh", "tritonserver --model-repository=models", "tail -f /dev/null"]
# entrypoint: cd /workspace/triton_service/requests_jasper
# entrypoint: sh scripts/install_dependencies.sh
# entrypoint: sh scripts/deploy_jasper.sh
# entrypoint: tritonserver --model-repository=models
# entrypoint: tail -f /dev/null
entrypoint: sh /workspace/triton_service/requests_jasper/scripts/run_server.sh
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 0
capabilities: [gpu]
volumes:
- .:/workspace
botegram:
environment:
API_SERVICE_HOST: triton_service
image: botegram
networks:
- microservices
ports:
- 55051:55051
volumes:
- ./:/app
volumes:
requests_jasper:
networks:
microservices: