Compare commits
2 commits
3f928ce90b
...
d26370514a
Author | SHA1 | Date | |
---|---|---|---|
|
d26370514a | ||
|
9b6536f529 |
5 changed files with 8 additions and 1 deletions
|
@ -15,6 +15,7 @@ let
|
||||||
buckets = [
|
buckets = [
|
||||||
"castopod-dgnum"
|
"castopod-dgnum"
|
||||||
"peertube-videos-dgnum"
|
"peertube-videos-dgnum"
|
||||||
|
"banda-website"
|
||||||
] ++ domains;
|
] ++ domains;
|
||||||
|
|
||||||
mkHosted = host: builtins.map (b: "${b}.${host}");
|
mkHosted = host: builtins.map (b: "${b}.${host}");
|
||||||
|
@ -50,7 +51,7 @@ in
|
||||||
|
|
||||||
k2v_api.api_bind_addr = "[::]:3904";
|
k2v_api.api_bind_addr = "[::]:3904";
|
||||||
|
|
||||||
admin.api_bind_addr = "0.0.0.0:3903";
|
admin.api_bind_addr = "127.0.0.1:3903";
|
||||||
};
|
};
|
||||||
|
|
||||||
environmentFile = config.age.secrets."garage-environment_file".path;
|
environmentFile = config.age.secrets."garage-environment_file".path;
|
||||||
|
|
|
@ -69,6 +69,11 @@ in
|
||||||
metrics_path = "/ups_metrics";
|
metrics_path = "/ups_metrics";
|
||||||
static_configs = [ { targets = [ "100.80.255.180:9199" ]; } ];
|
static_configs = [ { targets = [ "100.80.255.180:9199" ]; } ];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
job_name = "garage";
|
||||||
|
static_configs = [ { targets = [ "localhost:3903" ]; } ];
|
||||||
|
bearer_token_file = config.age.secrets."prometheus-garage_api".path;
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Binary file not shown.
BIN
machines/storage01/secrets/prometheus-garage_api
Normal file
BIN
machines/storage01/secrets/prometheus-garage_api
Normal file
Binary file not shown.
|
@ -17,5 +17,6 @@ lib.setDefault { inherit publicKeys; } [
|
||||||
"peertube-service_environment_file"
|
"peertube-service_environment_file"
|
||||||
"peertube-smtp_password_file"
|
"peertube-smtp_password_file"
|
||||||
"prometheus-web_config_file"
|
"prometheus-web_config_file"
|
||||||
|
"prometheus-garage_api"
|
||||||
"prometheus-uptime-kuma-apikey"
|
"prometheus-uptime-kuma-apikey"
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue