-
Notifications
You must be signed in to change notification settings - Fork 69
/
docker-compose.yaml
46 lines (45 loc) · 1.09 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'
services:
redisedge:
build: ./redisedge
ports:
- 6379:6379
init:
build: ./app
depends_on:
- redisedge
command: ['init.py', '--url', 'redis://redisedge:6379']
server:
build: ./app
depends_on:
- init
ports:
- 5000:5000
command: ['server.py', '--url', 'redis://redisedge:6379']
capture:
build: ./app
depends_on:
- init
# To capture from a webcam, uncomment the next lines
# devices:
# - /dev/video0:/dev/video0
# command: ['capture.py', '--url', 'redis://redisedge:6379']
command: ['capture.py', '--url', 'redis://redisedge:6379', 'data/countvoncount.mp4']
prometheus:
build: ./prometheus
ports:
- 9090:9090
prometheus-redistimeseries-adapter:
image: redislabs/prometheus-redistimeseries-adapter:master
# TODO: freeze version
depends_on:
- prometheus
ports:
- 9201:9201
command: ['-redis-address', 'redisedge:6379', '-web.listen-address', '0.0.0.0:9201']
grafana:
build: ./grafana
depends_on:
- prometheus
ports:
- 3000:3000