-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
56 lines (51 loc) · 1.01 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
version: "3.9"
services:
redis:
image: redis:6.2.6-bullseye
hostname: redis
container_name: redis
ports:
- "6379:6379"
networks:
- frontend
volumes:
- ./redis/data/:/data
redisinsight:
image: redislabs/redisinsight:1.11.1
hostname: redisinsight
container_name: redisinsight
depends_on:
- redis
ports:
- "8001:8001"
networks:
- frontend
volumes:
- redisinsight:/db
nvds:
image: nvcr.io/nvidia/deepstream:6.0-devel
hostname: nvds
container_name: nvds
depends_on:
- redis
networks:
- frontend
environment:
- TZ=Asia/Tokyo
- DISPLAY=${DISPLAY}
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
- /var/run/docker.sock:/var/run/docker.sock
- ${PWD}:/data
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [ gpu ]
tty: true
networks:
frontend:
volumes:
redisinsight: