forked from RedisGears/EdgeRealtimeVideoAnalytics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.local.yaml
39 lines (39 loc) · 914 Bytes
/
docker-compose.local.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
version: '3'
services:
init:
build: ./app
network_mode: host
command: ['init.py', '--url', 'redis://localhost:6379']
server:
build: ./app
network_mode: host
depends_on:
- init
ports:
- 5000:5000
command: ['server.py', '--url', 'redis://localhost:6379']
prometheus:
build:
context: ./prometheus
dockerfile: Dockerfile-local
network_mode: host
ports:
- 9090:9090
prometheus-redistimeseries-adapter:
image: redislabs/prometheus-redistimeseries-adapter:master
# TODO: freeze version
network_mode: host
depends_on:
- prometheus
ports:
- 9201:9201
command: ['-redis-address', 'localhost:6379', '-web.listen-address', '0.0.0.0:9201']
grafana:
build:
context: ./grafana
dockerfile: Dockerfile-local
network_mode: host
depends_on:
- prometheus
ports:
- 3000:3000