Proxmox nodes under tailscale network with reverse proxy
This commit is contained in:
parent
a67d75e196
commit
5f870d116c
3 changed files with 29 additions and 8 deletions
|
|
@ -177,6 +177,21 @@ in
|
||||||
host = "http://${p.hosts.homeassistant}:8123";
|
host = "http://${p.hosts.homeassistant}:8123";
|
||||||
domain = p.domains.public;
|
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";
|
subdomain = "torrent.ts";
|
||||||
host = "http://qbittorrent.${p.domains.tsDns}:8090";
|
host = "http://qbittorrent.${p.domains.tsDns}:8090";
|
||||||
|
|
@ -202,6 +217,11 @@ in
|
||||||
host = "http://${p.hosts.docker-vm}:6060";
|
host = "http://${p.hosts.docker-vm}:6060";
|
||||||
domain = p.domains.public;
|
domain = p.domains.public;
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
subdomain = "pulse.ts";
|
||||||
|
host = "http://${p.hosts.pulse}:7655";
|
||||||
|
domain = p.domains.public;
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,7 @@ let
|
||||||
# Generate complete colmena host configs (imports + deployment)
|
# Generate complete colmena host configs (imports + deployment)
|
||||||
mkColmenaHosts = builtins.mapAttrs (name: cfg: {
|
mkColmenaHosts = builtins.mapAttrs (name: cfg: {
|
||||||
imports = inputs.self.nixosConfigurations.${name}._module.args.modules;
|
imports = inputs.self.nixosConfigurations.${name}._module.args.modules;
|
||||||
deployment =
|
deployment = {
|
||||||
{
|
|
||||||
targetHost = hosts.${name} or null;
|
targetHost = hosts.${name} or null;
|
||||||
tags = cfg.tags;
|
tags = cfg.tags;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,9 @@ in
|
||||||
plex = "plex.${private-domain}";
|
plex = "plex.${private-domain}";
|
||||||
docker = "docker.${private-domain}";
|
docker = "docker.${private-domain}";
|
||||||
colmena = "colmena.${private-domain}";
|
colmena = "colmena.${private-domain}";
|
||||||
pve01 = "bacco${private-domain}";
|
bacco = "bacco.${private-domain}";
|
||||||
pve02 = "node.${private-domain}";
|
node = "node.${private-domain}";
|
||||||
|
krzo = "krzo.${private-domain}";
|
||||||
dns01 = "192.168.1.2";
|
dns01 = "192.168.1.2";
|
||||||
dns02 = "192.168.1.3";
|
dns02 = "192.168.1.3";
|
||||||
shadowsocks = "shadowsocks.${private-domain}";
|
shadowsocks = "shadowsocks.${private-domain}";
|
||||||
|
|
@ -38,6 +39,7 @@ in
|
||||||
actual = "actual-budget.${private-domain}";
|
actual = "actual-budget.${private-domain}";
|
||||||
karakeep = "karakeep.${private-domain}";
|
karakeep = "karakeep.${private-domain}";
|
||||||
docker-vm = "docker-vm.${private-domain}";
|
docker-vm = "docker-vm.${private-domain}";
|
||||||
|
pulse = "pulse.${private-domain}";
|
||||||
};
|
};
|
||||||
personal = {
|
personal = {
|
||||||
username = "pazpi";
|
username = "pazpi";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue