-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (47 loc) · 1.26 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
services:
peeringmon_exporter:
image: ghcr.io/peeringtestbed/peeringmon_exporter:latest
user: "1001" # change this to a nonroot user
container_name: peeringmon_exporter
command: ["/peeringmon_exporter", "-appid", "PEERINGMON-DEV"]
ports:
- 2112:2112
networks:
- monitoring
# peeringmon_controller:
# image: ghcr.io/peeringtestbed/peeringmon_controller
# user: "1001"
# container_name: peeringmon_controller
# command: ["/peeringmon_controller", "-i", "60"]
# ports:
# - 2113:2113
# networks:
# - monitoring
prometheus:
image: prom/prometheus:latest
user: "1001"
container_name: prometheus
volumes:
- /srv/dockerdata/promdata:/prometheus
- /srv/dockerdata/prometheus.yml:/etc/prometheus/prometheus.yml
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
ports:
- 9090:9090
networks:
- monitoring
grafana:
image: grafana/grafana:latest
user: "1001" # change this to a nonroot user
container_name: grafana
environment:
GF_AUTH_ANONYMOUS_ENABLED: true
volumes:
- /srv/dockerdata/grafana:/var/lib/grafana
ports:
- 3000:3000
networks:
- monitoring
networks:
monitoring: