feat(cluster): add hosts and change group name
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-01-26 20:43:09 -05:00
parent 141299e3ad
commit 91d2b7cedb
3 changed files with 9 additions and 5 deletions

View file

@ -46,6 +46,10 @@ in {
clusterIP clusterIP
"1.0.0.1" "1.0.0.1"
]; ];
extraHosts = ''
10.0.0.244 thingone
10.0.0.159 thingtwo
'';
firewall.enable = false; firewall.enable = false;
}; };

View file

@ -26,32 +26,32 @@ in {
"caddy-vip" = { "caddy-vip" = {
ip = "10.0.0.130"; ip = "10.0.0.130";
interface = "eno1"; interface = "eno1";
group = "caddy"; group = "caddy-grp";
}; };
}; };
systemdResources = { systemdResources = {
"caddy" = { "caddy" = {
enable = true; enable = true;
group = "caddy"; group = "caddy-grp";
startAfter = ["caddy-vip"]; startAfter = ["caddy-vip"];
}; };
"unbound" = { "unbound" = {
enable = true; enable = true;
group = "caddy"; group = "caddy-grp";
startAfter = ["caddy"]; startAfter = ["caddy"];
}; };
"blocky" = { "blocky" = {
enable = true; enable = true;
group = "caddy"; group = "caddy-grp";
startAfter = ["unbound"]; startAfter = ["unbound"];
}; };
"headscale" = { "headscale" = {
enable = true; enable = true;
group = "caddy"; group = "caddy-grp";
startAfter = ["blocky"]; startAfter = ["blocky"];
}; };
}; };

Binary file not shown.