Enable alloy on all servers

This commit is contained in:
SebastianStork 2025-09-20 15:38:15 +02:00
parent 7fbb1de671
commit 60b0e790a8
4 changed files with 34 additions and 3 deletions

View file

@ -74,6 +74,15 @@
domain = "speedtest.${sproutedDomain}";
};
alloy = {
enable = true;
domain = "alloy-${config.networking.hostName}.${config.custom.services.tailscale.domain}";
collect = {
hostMetrics = true;
sshdLogs = true;
};
};
caddy.virtualHosts =
let
inherit (config.custom) services;
@ -106,6 +115,9 @@
flush_interval -1
'';
};
alloy = {
inherit (services.alloy) domain port;
};
};
};
};