Add unmanaged hosts
parent
df3c13c010
commit
4d6791ee9b
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
hlConfig,
|
||||
...
|
||||
}:
|
||||
rec {
|
||||
hostname = "bastion";
|
||||
managed = false;
|
||||
ip = "192.168.10.189";
|
||||
|
||||
traefikRoutes = [
|
||||
{
|
||||
name = "${hostname}-vpn";
|
||||
rule = "Host(`vpn.${hlConfig.domain}`)";
|
||||
target = "http://${ip}:80";
|
||||
}
|
||||
];
|
||||
}
|
|
@ -5,7 +5,7 @@
|
|||
rec {
|
||||
hostname = "homeassistant";
|
||||
managed = false;
|
||||
ip = "192.168.10.98";
|
||||
ip = "192.168.10.192";
|
||||
|
||||
traefikRoutes = [
|
||||
{
|
||||
|
@ -14,5 +14,4 @@ rec {
|
|||
target = "http://${ip}:8123";
|
||||
}
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
@ -13,7 +13,10 @@
|
|||
];
|
||||
config = {
|
||||
sonarr.domain = "service1.${hlConfig.domain}";
|
||||
traefik.wildcardDomains = [ hlConfig.domain ];
|
||||
traefik.wildcardDomains = [
|
||||
hlConfig.domain
|
||||
"pds.${hlConfig.domain}"
|
||||
];
|
||||
};
|
||||
stateVersion = "24.05";
|
||||
}
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
hlConfig,
|
||||
...
|
||||
}:
|
||||
rec {
|
||||
hostname = "pds";
|
||||
managed = false;
|
||||
ip = "192.168.10.174";
|
||||
|
||||
traefikRoutes = [
|
||||
{
|
||||
name = "${hostname}";
|
||||
rule = "Host(`${hlConfig.domain}`) || HostRegexp(`.+${
|
||||
builtins.replaceStrings [ "." ] [ "\\." ] hlConfig.domain
|
||||
}`)";
|
||||
target = "http://${ip}:3000";
|
||||
}
|
||||
];
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
hlConfig,
|
||||
...
|
||||
}:
|
||||
rec {
|
||||
hostname = "wings1";
|
||||
managed = false;
|
||||
ip = "192.168.10.190";
|
||||
|
||||
traefikRoutes = [
|
||||
{
|
||||
name = "${hostname}";
|
||||
rule = "Host(`wings1.${hlConfig.shortDomain}`)";
|
||||
target = "http://${ip}:443";
|
||||
}
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue