mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
made containers ephemeral
This commit is contained in:
parent
30a932907c
commit
9ebe553ce1
2 changed files with 9 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue