made containers ephemeral

This commit is contained in:
Gerg-L 2023-03-10 18:24:18 -05:00
parent 30a932907c
commit 9ebe553ce1
2 changed files with 9 additions and 0 deletions

View file

@ -1,10 +1,16 @@
_: {...}: {
containers."website" = {
ephemeral = true;
autoStart = true;
privateNetwork = true;
hostBridge = "bridge0";
localAddress = "192.168.1.11/24";
localAddress6 = "2605:59c8:252e:500:200:ff:fe00:11/64";
bindMounts."/persist/website" = {
mountPoint = "/var";
hostPath = "/persist/website";
isReadOnly = false;
};
config = {
pkgs,
config,