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
|
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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
BIN
flake.lock
BIN
flake.lock
Binary file not shown.
Loading…
Reference in a new issue