-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
34 lines (34 loc) · 992 Bytes
/
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
version: "3.9"
services:
grafana:
hostname: oct-grafana
container_name: oct-grafana
image: grafana/grafana-oss
network_mode: "host"
environment:
- GF_FEATURE_TOGGLES_ENABLE=publicDashboards
volumes:
- oct-grafana:/var/lib/grafana
- ./grafana/grafana.ini:/etc/grafana/grafana.ini
prometheus:
hostname: oct-prometheus
image: prom/prometheus
command: --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.retention.time=30d
network_mode: "host"
volumes:
- oct-prometheus:/prometheus
- ./prometheus:/etc/prometheus:ro
prometheus-snmp:
hostname: oct-prometheus-snmp
image: prom/snmp-exporter
network_mode: "host"
prometheus-ipmi:
hostname: oct-prometheus-ipmi
image: prometheuscommunity/ipmi-exporter-linux-amd64
command: --config.file /config.yml
network_mode: "host"
volumes:
- ./prometheus-ipmi/ipmi_remote.yml:/config.yml:ro
volumes:
oct-grafana:
oct-prometheus: