-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
53 lines (53 loc) · 1.38 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
47
48
49
50
51
52
53
version: '3.2'
services:
prometheus:
image: prom/prometheus:v2.19.0
ports:
- "9090:9090"
volumes:
- ./prometheus.yaml:/etc/prometheus/prometheus.yaml
- prometheus-storage:/prometheus
command:
- "--config.file=/etc/prometheus/prometheus.yaml"
- "--storage.tsdb.path=/prometheus"
- "--storage.tsdb.retention.time=30d"
grafana:
image: grafana/grafana
ports:
- 3000:3000
volumes:
- grafana-storage:/var/lib/grafana
mongodb:
image: mongo:4.2
environment:
- MONGO_DATA_DIR=/data/db
volumes:
- mongodb-storage:/data/db
ports:
- 27017:27017
cep:
image: francescorivola/tribeca-cep:latest
environment:
- CEP_MONGODB_URL=mongodb://mongodb:27017
- CEP_ADMIN_HTTP_HOST=0.0.0.0
- CEP_ADMIN_HTTP_PORT=8888
- CEP_EVENT_PROCESSING_HTTP_HOST=0.0.0.0
- CEP_EVENT_PROCESSING_HTTP_PORT=8889
- CEP_METRICS_HTTP_HOST=0.0.0.0
- CEP_METRICS_HTTP_PORT=8890
- CEP_ADMIN_HTTP_ENABLE_CORS=true
- CEP_ADMIN_HTTP_ENABLE_SWAGGER=true
- CEP_EVENT_PROCESSING_HTTP_ENABLE_SWAGGER=true
ports:
- "8888:8888"
- "8889:8889"
cep-ui:
image: francescorivola/tribeca-cep-ui:latest
environment:
- BASE_URL=http://localhost:8888
ports:
- "8080:80"
volumes:
grafana-storage:
prometheus-storage:
mongodb-storage: