[WIP] feat: migrate containers to vmd102066

This commit is contained in:
steveej 2022-11-03 16:48:06 +01:00
parent 7cd97ca6d9
commit 76c64678ae
20 changed files with 346 additions and 99 deletions

View file

@ -1,4 +1,5 @@
{ hostAddress, localAddress, httpPort ? 80, httpsPort ? 443 }:
{ hostAddress, localAddress, httpPort ? 80, httpsPort ? 443, autoStart ? false
}:
let passwords = import ../../variables/passwords.crypt.nix;
in {
@ -121,7 +122,7 @@ in {
};
};
autoStart = true;
inherit autoStart;
bindMounts = {
"/etc/secrets/" = {
@ -145,6 +146,8 @@ in {
};
};
extraFlags = [ "--resolv-conf=bind-host" ];
privateNetwork = true;
forwardPorts = [
{