mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Enable alloy on all servers
This commit is contained in:
parent
7fbb1de671
commit
60b0e790a8
4 changed files with 34 additions and 3 deletions
|
|
@ -73,6 +73,12 @@
|
|||
domain = "logs.${tailscaleDomain}";
|
||||
};
|
||||
|
||||
alloy = {
|
||||
enable = true;
|
||||
domain = "alloy-${config.networking.hostName}.${tailscaleDomain}";
|
||||
collect.hostMetrics = true;
|
||||
};
|
||||
|
||||
caddy.virtualHosts =
|
||||
let
|
||||
inherit (config.custom) services;
|
||||
|
|
@ -93,6 +99,9 @@
|
|||
victorialogs = {
|
||||
inherit (services.victorialogs) domain port;
|
||||
};
|
||||
alloy = {
|
||||
inherit (services.alloy) domain port;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue