mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-08-28 13:57:13 +02:00
security: bind aquamarine metrics exporters to loopback
This commit is contained in:
@@ -121,7 +121,8 @@ in
|
||||
|
||||
services.prometheus.exporters.postgres = {
|
||||
enable = true;
|
||||
listenAddress = "0.0.0.0";
|
||||
# loopback only: scraped by VictoriaMetrics on the same host
|
||||
listenAddress = "127.0.0.1";
|
||||
port = 9187;
|
||||
user = "postgres-exporter";
|
||||
group = "postgres-exporter";
|
||||
|
||||
Reference in New Issue
Block a user