moved mail
Some checks failed
Test / tests (push) Has been cancelled

This commit is contained in:
plasmagoat 2025-07-17 00:35:44 +02:00
parent c46903e3a0
commit 032072374b
35 changed files with 511 additions and 324 deletions

View file

@ -18,11 +18,51 @@
}
{
name = "sonarr";
url = "https://sonarr.procopius.dk/health";
url = "https://sonarr.procopius.dk/ping";
interval = "5m";
conditions = [
"[STATUS] == 200"
"[BODY] == Healthy"
"[BODY].status == OK"
"[RESPONSE_TIME] < 300"
];
}
{
name = "radarr";
url = "https://radarr.procopius.dk/ping";
interval = "5m";
conditions = [
"[STATUS] == 200"
"[BODY].status == OK"
"[RESPONSE_TIME] < 300"
];
}
{
name = "lidarr";
url = "https://lidarr.procopius.dk/ping";
interval = "5m";
conditions = [
"[STATUS] == 200"
"[BODY].status == OK"
"[RESPONSE_TIME] < 300"
];
}
{
name = "readarr";
url = "https://readarr.procopius.dk/ping";
interval = "5m";
conditions = [
"[STATUS] == 200"
"[BODY].status == OK"
"[RESPONSE_TIME] < 300"
];
}
{
name = "prowlarr";
url = "https://prowlarr.procopius.dk/ping";
interval = "5m";
conditions = [
"[STATUS] == 200"
"[BODY].status == OK"
"[RESPONSE_TIME] < 300"
];
}

View file

@ -1,10 +1,4 @@
{
config,
pkgs,
modulesPath,
lib,
...
}: {
{config, ...}: {
# Add grafana user to the inlfuxdb2 group (for secret)
users.users.grafana.extraGroups = ["influxdb2"];
services.grafana.enable = true;

View file

@ -1,8 +1,4 @@
{
config,
pkgs,
...
}: let
{config, ...}: let
influxdbPassword = config.sops.secrets."influxdb/password".path;
influxdbToken = config.sops.secrets."influxdb/token".path;
in {

View file

@ -1,10 +1,4 @@
{
config,
pkgs,
modulesPath,
lib,
...
}: let
{pkgs, ...}: let
monitor_hostname = "monitor.lab";
traefik_hostname = "traefik.lab";
sandbox_hostname = "sandbox.lab";

View file

@ -1,8 +1,4 @@
{
config,
pkgs,
...
}: let
{config, ...}: let
promtail_port = 9080;
in {
networking.firewall.allowedTCPPorts = [promtail_port];