containers/fluorite: forward ports

This commit is contained in:
Cilly Leang 2026-03-18 03:43:35 +11:00
parent de7402576d
commit 5eef477e0b
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -33,6 +33,7 @@
enableIPv6 = true;
internalInterfaces = [ "ve-${name}" ];
};
networking.firewall.allowedTCPPorts = [ 50300 ];
services.nginx.virtualHosts."${fqdn}" = {
useACMEHost = "lava.moe";
@ -58,6 +59,14 @@
config = { imports = modules; };
specialArgs = { inherit fqdn; };
forwardPorts = [
{
containerPort = 50300;
hostPort = 50300;
protocol = "tcp";
}
];
bindMounts."persist" = {
hostPath = "/persist/containers/${name}";
mountPoint = "/persist";