Proxmox nodes under tailscale network with reverse proxy

This commit is contained in:
pazpi 2026-04-16 16:22:34 +02:00
parent a67d75e196
commit 5f870d116c
No known key found for this signature in database
3 changed files with 29 additions and 8 deletions

View file

@ -177,6 +177,21 @@ in
host = "http://${p.hosts.homeassistant}:8123";
domain = p.domains.public;
}
{
subdomain = "bacco.ts";
host = "https://${p.hosts.bacco}:8006";
domain = p.domains.public;
}
{
subdomain = "krzo.ts";
host = "https://${p.hosts.krzo}:8006";
domain = p.domains.public;
}
{
subdomain = "node.ts";
host = "https://${p.hosts.node}:8006";
domain = p.domains.public;
}
{
subdomain = "torrent.ts";
host = "http://qbittorrent.${p.domains.tsDns}:8090";
@ -202,6 +217,11 @@ in
host = "http://${p.hosts.docker-vm}:6060";
domain = p.domains.public;
}
{
subdomain = "pulse.ts";
host = "http://${p.hosts.pulse}:7655";
domain = p.domains.public;
}
];
};

View file

@ -7,12 +7,11 @@ let
# Generate complete colmena host configs (imports + deployment)
mkColmenaHosts = builtins.mapAttrs (name: cfg: {
imports = inputs.self.nixosConfigurations.${name}._module.args.modules;
deployment =
{
targetHost = hosts.${name} or null;
tags = cfg.tags;
}
// (if cfg ? colmenaSshPort then { targetPort = cfg.colmenaSshPort; } else { });
deployment = {
targetHost = hosts.${name} or null;
tags = cfg.tags;
}
// (if cfg ? colmenaSshPort then { targetPort = cfg.colmenaSshPort; } else { });
}) hostDefs;
in

View file

@ -20,8 +20,9 @@ in
plex = "plex.${private-domain}";
docker = "docker.${private-domain}";
colmena = "colmena.${private-domain}";
pve01 = "bacco${private-domain}";
pve02 = "node.${private-domain}";
bacco = "bacco.${private-domain}";
node = "node.${private-domain}";
krzo = "krzo.${private-domain}";
dns01 = "192.168.1.2";
dns02 = "192.168.1.3";
shadowsocks = "shadowsocks.${private-domain}";
@ -38,6 +39,7 @@ in
actual = "actual-budget.${private-domain}";
karakeep = "karakeep.${private-domain}";
docker-vm = "docker-vm.${private-domain}";
pulse = "pulse.${private-domain}";
};
personal = {
username = "pazpi";