mirror of
https://gitlab.com/rusty-bever/deployment.git
synced 2026-04-08 11:55:47 +02:00
Added hostname mount to node-exporter
This commit is contained in:
parent
7f003b4a21
commit
a2ab464d50
1 changed files with 2 additions and 0 deletions
|
|
@ -79,6 +79,8 @@ services:
|
||||||
- '/proc:/host/proc:ro'
|
- '/proc:/host/proc:ro'
|
||||||
- '/sys:/host/sys:ro'
|
- '/sys:/host/sys:ro'
|
||||||
- '/:/rootfs:ro'
|
- '/:/rootfs:ro'
|
||||||
|
# Hopefully causes node-exporter to show the correct hostname
|
||||||
|
- '/etc/hostname:/etc/hostname:ro'
|
||||||
|
|
||||||
configs:
|
configs:
|
||||||
prometheus_v6:
|
prometheus_v6:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue