feat(cluster): add hosts and change group name
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
141299e3ad
commit
91d2b7cedb
3 changed files with 9 additions and 5 deletions
|
@ -46,6 +46,10 @@ in {
|
|||
clusterIP
|
||||
"1.0.0.1"
|
||||
];
|
||||
extraHosts = ''
|
||||
10.0.0.244 thingone
|
||||
10.0.0.159 thingtwo
|
||||
'';
|
||||
firewall.enable = false;
|
||||
};
|
||||
|
||||
|
|
|
@ -26,32 +26,32 @@ in {
|
|||
"caddy-vip" = {
|
||||
ip = "10.0.0.130";
|
||||
interface = "eno1";
|
||||
group = "caddy";
|
||||
group = "caddy-grp";
|
||||
};
|
||||
};
|
||||
|
||||
systemdResources = {
|
||||
"caddy" = {
|
||||
enable = true;
|
||||
group = "caddy";
|
||||
group = "caddy-grp";
|
||||
startAfter = ["caddy-vip"];
|
||||
};
|
||||
|
||||
"unbound" = {
|
||||
enable = true;
|
||||
group = "caddy";
|
||||
group = "caddy-grp";
|
||||
startAfter = ["caddy"];
|
||||
};
|
||||
|
||||
"blocky" = {
|
||||
enable = true;
|
||||
group = "caddy";
|
||||
group = "caddy-grp";
|
||||
startAfter = ["unbound"];
|
||||
};
|
||||
|
||||
"headscale" = {
|
||||
enable = true;
|
||||
group = "caddy";
|
||||
group = "caddy-grp";
|
||||
startAfter = ["blocky"];
|
||||
};
|
||||
};
|
||||
|
|
BIN
flake.lock
BIN
flake.lock
Binary file not shown.
Loading…
Reference in a new issue