grafana: open up port

This commit is contained in:
Motiejus Jakštys 2024-08-03 06:03:55 +03:00
parent 283e10b9b5
commit 5a811a61e8
3 changed files with 15 additions and 1 deletions

View File

@ -318,6 +318,7 @@ in
#soju-ws #soju-ws
]; ];
} }
]; ];
}; };

View File

@ -1,4 +1,9 @@
{ config, lib, ... }: {
config,
lib,
myData,
...
}:
let let
cfg = config.mj.services.grafana; cfg = config.mj.services.grafana;
in in
@ -65,6 +70,13 @@ in
}; };
}; };
mj.services.friendlyport.ports = [
{
subnets = [ myData.subnets.tailscale.cidr ];
tcp = [ cfg.port ];
}
];
}; };
} }

View File

@ -35,6 +35,7 @@ in
uid = cfg.uidgid; uid = cfg.uidgid;
}; };
}; };
}; };
} }