mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 18:04:41 +02:00
treewide: use localhost instead of ipv4
This commit is contained in:
parent
68a379bb34
commit
c105a223a7
24 changed files with 42 additions and 53 deletions
|
@ -25,7 +25,7 @@ in
|
|||
prometheus.exporters.exportarr-prowlarr = {
|
||||
inherit (config.services.prometheus) enable;
|
||||
port = port + 1;
|
||||
url = "http://127.0.0.1:${toString port}";
|
||||
url = "http://localhost:${toString port}";
|
||||
inherit (cfg) apiKeyFile;
|
||||
};
|
||||
prometheus.scrapeConfigs = [
|
||||
|
@ -33,7 +33,7 @@ in
|
|||
job_name = "prowlarr";
|
||||
static_configs = [
|
||||
{
|
||||
targets = [ "127.0.0.1:${toString port + 1}" ];
|
||||
targets = [ "localhost:${toString port + 1}" ];
|
||||
labels = {
|
||||
instance = config.networking.hostName;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue