grafana/module.nix: change urls of provisions to localhost

This commit is contained in:
Bloxx12 2025-04-09 15:31:18 +02:00
commit a5b9929e27

View file

@ -54,7 +54,7 @@ in {
name = "Prometheus"; name = "Prometheus";
type = "prometheus"; type = "prometheus";
access = "proxy"; access = "proxy";
url = "http://127.0.0.1:${toString config.services.prometheus.port}"; url = "localhost:${toString config.services.prometheus.port}";
isDefault = true; isDefault = true;
}) })
@ -62,7 +62,7 @@ in {
name = "PostgreSQL"; name = "PostgreSQL";
type = "postgres"; type = "postgres";
access = "proxy"; access = "proxy";
url = "http://127.0.0.1:${toString config.services.prometheus.exporters.postgres.port}"; url = "localhost:${toString config.services.prometheus.exporters.postgres.port}";
}) })
]; ];
}; };