Add port forwarding to heimdall as well

This commit is contained in:
Evie Litherland-Smith 2023-09-06 08:13:13 +01:00
parent ead0d8fc1e
commit 1597a64671

View file

@ -35,7 +35,23 @@ in {
]; ];
}; };
"freia???" = lib.hm.dag.entryAfter [ "freia" ] { hostname = "%h.hpc.l"; }; "freia???" = lib.hm.dag.entryAfter [ "freia" ] { hostname = "%h.hpc.l"; };
"heimdall" = { hostname = "heimdall003.jet.uk"; }; "heimdall" = {
hostname = "heimdall003.jet.uk";
localForwards = [
{
# Jupyter Lab
bind.port = 6703;
host.address = "localhost";
host.port = 6702;
}
{
# Dash/Plotly
bind.port = 8051;
host.address = "localhost";
host.port = 8050;
}
];
};
"heimdall???" = "heimdall???" =
lib.hm.dag.entryAfter [ "heimdall" ] { hostname = "%h.jet.uk"; }; lib.hm.dag.entryAfter [ "heimdall" ] { hostname = "%h.jet.uk"; };
"freia* heimdall*" = "freia* heimdall*" =