forked from PaloAltoNetworks/pcs-metrics-monitoring
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
64 lines (57 loc) · 1.87 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
53
54
55
56
57
58
59
60
61
62
63
64
version: '3.8'
volumes:
grafana-storage:
prometheus-storage:
services:
influxdb:
image: influxdb:1.8
container_name: influxdb
volumes:
- type: bind
source: ./influxdb/influxdb.conf
target: /etc/influxdb/influxdb.conf
read_only: true
- type: bind
source: ./influxdb
target: /var/lib/influxdb
- type: bind
source: ./influxdb/influxdb.sql
target: /var/lib/influxdb/influxdb.sql
ports:
- "8086:8086"
telegraf:
image: telegraf:latest
container_name: telegraf
restart: always
volumes:
- type: bind
source: ./telegraf/telegraf.conf
target: /etc/telegraf/telegraf.conf
read_only: true
depends_on:
- influxdb
grafana:
image: grafana/grafana
ports:
- "3000:3000"
container_name: grafana
volumes:
- './grafana/provisioning:/etc/grafana/provisioning'
- './grafana/dashboards:/var/lib/grafana/dashboards'
- './grafana-storage:/var/lib/grafana'
user: '472'
environment:
GF_INSTALL_PLUGINS: "grafana-piechart-panel, natel-plotly-panel, blackmirror1-singlestat-math-panel, btplc-trend-box-panel, marcuscalidus-svg-panel, michaeldmoore-multistat-panel, yesoreyeram-boomtable-panel, ryantxu-ajax-panel, grafana-influxdb-flux-datasource, fetzerch-sunandmoon-datasource, andig-darksky-datasource, simpod-json-datasource"
prometheus:
image: prom/prometheus
ports:
- "9090:9090"
container_name: prometheus
volumes:
- './prometheus/prometheus.yml:/etc/prometheus/prometheus.yml'
# - './prometheus/pc_auth.env:/etc/prometheus/prometheus.yml'
- 'prometheus-storage:/prometheus'
pcc_collector:
image: collector:dev
container_name: pcc_collector
hostname: pcc_collector