-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (52 loc) · 1.5 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
version: '2.1'
networks:
monitoring:
driver: bridge
volumes:
prometheus_data: {}
grafana_data: {}
services:
prometheus:
image: prom/prometheus:v2.20.1
container_name: prometheus
volumes:
- ./prometheus:/etc/prometheus
- prometheus_data:/prometheus
ports:
- 9090:9090
expose:
- 9090
networks:
- monitoring
grafana:
image: grafana/grafana
container_name: grafana
entrypoint: ["bash", "-c", "wget -P /etc/grafana/provisioning/dashboards https://raw.githubusercontent.com/epfl-si/external-noc/master/roles/grafana/files/provisioning/dashboards/PhDAssess-ZeebeDB.json; /run.sh"]
volumes:
- grafana_data:/var/lib/grafana
- ./grafana/provisioning/dashboards/dashboard.yml:/etc/grafana/provisioning/dashboards/dashboard.yml
- ./grafana/provisioning/dashboards/nodejs_application_dashboard.json:/etc/grafana/provisioning/dashboards/nodejs_application_dashboard.json
- ./grafana/provisioning/datasources:/etc/grafana/provisioning/datasources
environment:
- GF_AUTH_DISABLE_LOGIN_FORM=true
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
ports:
- 4000:3000
expose:
- 4000
networks:
- monitoring
zeebe-db-monitor:
build:
context: .
volumes:
- ${DOCKER_COMPOSE_ZEEBE_DATA_RO_PATH}:/zeebe-data-ro:ro
environment:
- ZEEBE_DATA_RO_PATH=/zeebe-data-ro
ports:
- 8080:8080
expose:
- 8080
networks:
- monitoring