feat: massive refactoring...

This commit is contained in:
Xavier Morel
2025-11-09 00:45:00 +01:00
parent f9446df46d
commit 3245b6b89f
77 changed files with 3233 additions and 582 deletions

33
containers/proxy.nix Normal file
View File

@@ -0,0 +1,33 @@
{ ... }:
{
my-lxc.proxy = {
container = {
cores = 2;
memory = 512;
disk = "5G";
swap = 512;
};
system = {
port = 8080;
additionalPorts = [
80
443
8082
];
udpPorts = [ 443 ];
importConfig = [
../config/proxy-traefik.nix
];
};
logging = {
enable = true;
metricsEnable = true;
alloyConfig = {
# probably move to default-journal...
"logs-traefik" = ../config/alloy/proxy-traefik.alloy.nix;
};
};
private = true;
auth = true;
};
}