[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, imapsPort ? 993, sievePort ? 4190 }:
{ hostAddress, localAddress, imapsPort ? 993, sievePort ? 4190
, autoStart ? false }:
let passwords = import ../../variables/passwords.crypt.nix;
@ -124,7 +125,7 @@ in {
};
};
autoStart = true;
inherit autoStart;
bindMounts = {
"/etc/secrets/" = {
@ -138,6 +139,8 @@ in {
};
};
extraFlags = [ "--resolv-conf=bind-host" ];
privateNetwork = true;
forwardPorts = [
{