Add loadbalancer entry for winder
All checks were successful
CI / build (push) Successful in 1m0s
CI / deploy (docs-ops.qo.is) (push) Successful in 46s
CI / deploy (system-vm) (push) Successful in 1m13s
CI / deploy (system-physical) (push) Successful in 2m13s
CI / deploy-ci (push) Successful in 41s

This commit is contained in:
Fabian Hauser 2025-07-11 21:37:47 +03:00
parent 79059dc058
commit 74b51b56ef

View file

@ -35,6 +35,8 @@ let
"www.raphael.li" = "lindberg-rzimmermann"; "www.raphael.li" = "lindberg-rzimmermann";
"vpn.qo.is" = "cyprianspitz-headscale"; "vpn.qo.is" = "cyprianspitz-headscale";
"api.winder.fh2.ch" = "workstations-8080";
"www.winder.fh2.ch" = "workstations-3000";
}; };
getBackplaneIp = hostname: config.qois.meta.network.virtual.backplane.hosts.${hostname}.v4.ip; getBackplaneIp = hostname: config.qois.meta.network.virtual.backplane.hosts.${hostname}.v4.ip;
defaultHostmap = defaultHostmap =
@ -74,6 +76,15 @@ let
backend cyprianspitz-headscale-https backend cyprianspitz-headscale-https
mode tcp mode tcp
server s1 ${getBackplaneIp "cyprianspitz"}:${headscalePort} server s1 ${getBackplaneIp "cyprianspitz"}:${headscalePort}
# Winder Study Project (tmp)
backend workstations-3000
mode http
server s1 10.247.0.156:3000
backend workstations-8080
mode http
server s1 10.247.0.156:8080
''; '';
cfg = config.qois.loadbalancer; cfg = config.qois.loadbalancer;
in in