containers/amethyst: expose under local nginx

This commit is contained in:
Cilly Leang 2026-03-15 20:52:24 +11:00
parent dfd00aad38
commit a9e9ae41ac
Signed by: cilly
GPG key ID: 6500251E087653C9
2 changed files with 5 additions and 68 deletions

View file

@ -17,6 +17,11 @@
internalInterfaces = [ "ve-+" ];
};
services.nginx.virtualHosts."amethyst.local.lava.moe" = {
locations."/".proxyPass = "http://10.30.${subnet}.2:9091";
listenAddresses = [ "10.0.0.0/24" "fd0d::/16" ];
};
systemd.tmpfiles.rules = [ "d /persist/containers/${name} 755 root users" ];
containers.${name} = {
autoStart = true;