config/hosts/portainer.nix

17 lines
259 B
Nix

{
...
}:
rec {
hostname = "portainer";
managed = false;
ip = "192.168.10.188";
traefikRoutes = [
{
name = "${hostname}-traefik-fallback";
rule = "HostRegexp(`.*`)";
target = "http://${ip}:80";
priority = 1;
}
];
}