This commit is contained in:
parent
4ed9ba0d24
commit
a90630ecb6
98 changed files with 2063 additions and 729 deletions
44
nixos/hosts/media/exportarr.nix
Normal file
44
nixos/hosts/media/exportarr.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{config, ...}: {
|
||||
services.prometheus.exporters.exportarr-sonarr = {
|
||||
enable = true;
|
||||
url = "http://media.lab:8989";
|
||||
port = 9707;
|
||||
openFirewall = true;
|
||||
apiKeyFile = config.sops.secrets.sonarr-api-key.path;
|
||||
};
|
||||
services.prometheus.exporters.exportarr-readarr = {
|
||||
enable = true;
|
||||
url = "http://media.lab:8787";
|
||||
port = 9708;
|
||||
openFirewall = true;
|
||||
apiKeyFile = config.sops.secrets.readarr-api-key.path;
|
||||
};
|
||||
services.prometheus.exporters.exportarr-radarr = {
|
||||
enable = true;
|
||||
url = "http://media.lab:7878";
|
||||
port = 9709;
|
||||
openFirewall = true;
|
||||
apiKeyFile = config.sops.secrets.radarr-api-key.path;
|
||||
};
|
||||
services.prometheus.exporters.exportarr-prowlarr = {
|
||||
enable = true;
|
||||
url = "http://media.lab:9696";
|
||||
port = 9710;
|
||||
openFirewall = true;
|
||||
apiKeyFile = config.sops.secrets.prowlarr-api-key.path;
|
||||
};
|
||||
services.prometheus.exporters.exportarr-lidarr = {
|
||||
enable = true;
|
||||
url = "http://media.lab:8686";
|
||||
port = 9711;
|
||||
openFirewall = true;
|
||||
apiKeyFile = config.sops.secrets.lidarr-api-key.path;
|
||||
};
|
||||
services.prometheus.exporters.exportarr-bazarr = {
|
||||
enable = true;
|
||||
url = "http://media.lab:6767";
|
||||
port = 9712;
|
||||
openFirewall = true;
|
||||
apiKeyFile = config.sops.secrets.bazarr-api-key.path;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue