FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Docker-Raspberry-PI-Monitoring/docker-compose.yml at master · Dev1994/Docker-Raspberry-PI-Monitoring · GitHub
Dev1994
/
Docker-Raspberry-PI-Monitoring
Public
forked from
oijkn/Docker-Raspberry-PI-Monitoring
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Docker-Raspberry-PI-Monitoring
/
docker-compose.yml
Copy path
More file actions
More file actions
Latest commit
History
History
History
139 lines (131 loc) · 3.54 KB
Breadcrumbs
Docker-Raspberry-PI-Monitoring
/
docker-compose.yml
Copy path
File metadata and controls
139 lines (131 loc) · 3.54 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
version
:
"
3.8
"
services
:
grafana
:
container_name
:
monitoring-grafana
image
:
grafana/grafana:latest
hostname
:
rpi-grafana
restart
:
unless-stopped
user
:
"
472
"
networks
:
-
internal
ports
:
-
"
3000:3000
"
env_file
:
-
./grafana/.env
volumes
:
-
./grafana/provisioning:/etc/grafana/provisioning
depends_on
:
-
prometheus
cadvisor
:
container_name
:
monitoring-cadvisor
image
:
gcr.io/cadvisor/cadvisor:latest
hostname
:
rpi-cadvisor
restart
:
unless-stopped
privileged
:
true
networks
:
-
internal
expose
:
-
8080
command
:
-
"
-housekeeping_interval=15s
"
-
"
-docker_only=true
"
-
"
-store_container_labels=false
"
devices
:
-
/dev/kmsg
volumes
:
-
/:/rootfs:ro
-
/var/run:/var/run:rw
-
/sys:/sys:ro
-
/var/lib/docker/:/var/lib/docker:ro
-
/dev/disk/:/dev/disk:ro
-
/etc/machine-id:/etc/machine-id:ro
node-exporter
:
container_name
:
monitoring-node-exporter
image
:
prom/node-exporter:latest
hostname
:
rpi-exporter
restart
:
unless-stopped
networks
:
-
internal
expose
:
-
9100
command
:
-
--path.procfs=/host/proc
-
--path.sysfs=/host/sys
-
--path.rootfs=/host
-
--collector.filesystem.ignored-mount-points
-
^/(sys|proc|dev|host|etc|rootfs/var/lib/docker/containers|rootfs/var/lib/docker/overlay2|rootfs/run/docker/netns|rootfs/var/lib/docker/aufs)($$|/)
volumes
:
-
/proc:/host/proc:ro
-
/sys:/host/sys:ro
-
/:/rootfs:ro
-
/:/host:ro,rslave
otel-collector
:
container_name
:
monitoring-otel-collector
image
:
otel/opentelemetry-collector-contrib:latest
hostname
:
rpi-otel-collector
restart
:
unless-stopped
networks
:
-
internal
-
monitoring
expose
:
-
4317
#
OTLP gRPC receiver
-
4318
#
OTLP HTTP receiver
-
8888
#
Prometheus metrics exposed by the collector
-
8889
#
Prometheus exporter metrics
ports
:
-
"
4317:4317
"
#
Expose OTLP gRPC for external .NET API
-
"
4318:4318
"
#
Expose OTLP HTTP for external .NET API
volumes
:
-
./otel-collector/otel-collector-config.yaml:/etc/otelcol-contrib/otel-collector-config.yaml
command
:
["--config=/etc/otelcol-contrib/otel-collector-config.yaml"]
jaeger
:
image
:
jaegertracing/all-in-one:latest
container_name
:
jaeger
hostname
:
rpi-jaeger
restart
:
unless-stopped
networks
:
-
internal
-
monitoring
ports
:
-
"
16686:16686
"
#
Jaeger UI
-
"
14268:14268
"
#
Jaeger HTTP (for trace ingestion)
environment
:
-
COLLECTOR_OTLP_ENABLED=true
-
SPAN_STORAGE_TYPE=memory
-
MEMORY_MAX_TRACES=50000
prometheus
:
container_name
:
monitoring-prometheus
image
:
prom/prometheus:latest
hostname
:
rpi-prometheus
restart
:
unless-stopped
user
:
"
nobody
"
command
:
-
"
--config.file=/etc/prometheus/prometheus.yml
"
-
"
--storage.tsdb.path=/prometheus
"
-
"
--storage.tsdb.retention.time=31d
"
-
"
--storage.tsdb.retention.size=10GB
"
networks
:
-
internal
expose
:
-
9090
volumes
:
-
./prometheus:/etc/prometheus/
-
prometheus-data:/prometheus
depends_on
:
-
cadvisor
-
node-exporter
-
otel-collector
links
:
-
cadvisor:cadvisor
-
node-exporter:node-exporter
-
otel-collector:otel-collector
networks
:
internal
:
driver
:
bridge
#
Shared network for external applications
monitoring
:
driver
:
bridge
external
:
false
volumes
:
prometheus-data
:
driver
:
local
Back
|
FazBrowse Home
|
New Git URL