From cbc7827cb91093ff6b673735a449481ab3a3aa6d Mon Sep 17 00:00:00 2001 From: stuebinm Date: Thu, 22 Feb 2024 21:15:41 +0100 Subject: [PATCH] make all nixos containers ephemeral --- parsons/forgejo.nix | 1 + parsons/hedgedoc-hacc.nix | 1 + parsons/hedgedoc-i4f.nix | 1 + parsons/mattermost.nix | 1 + parsons/nextcloud.nix | 1 + parsons/tracktrain.nix | 1 + parsons/uffd.nix | 1 + 7 files changed, 7 insertions(+) diff --git a/parsons/forgejo.nix b/parsons/forgejo.nix index 001bd63..898e5a9 100644 --- a/parsons/forgejo.nix +++ b/parsons/forgejo.nix @@ -6,6 +6,7 @@ hostAddress = "192.168.100.1"; localAddress = "192.168.100.10"; autoStart = true; + ephemeral = true; bindMounts = { "/persist" = { hostPath = "/persist/containers/gitea"; diff --git a/parsons/hedgedoc-hacc.nix b/parsons/hedgedoc-hacc.nix index 533cd54..35462f2 100644 --- a/parsons/hedgedoc-hacc.nix +++ b/parsons/hedgedoc-hacc.nix @@ -11,6 +11,7 @@ hostAddress = "192.168.100.1"; localAddress = "192.168.100.5"; autoStart = true; + ephemeral = true; bindMounts = { "/persist" = { hostPath = "/persist/containers/pad-hacc"; diff --git a/parsons/hedgedoc-i4f.nix b/parsons/hedgedoc-i4f.nix index 1e65359..97ca2ce 100644 --- a/parsons/hedgedoc-i4f.nix +++ b/parsons/hedgedoc-i4f.nix @@ -6,6 +6,7 @@ hostAddress = "192.168.100.1"; localAddress = "192.168.100.6"; autoStart = true; + ephemeral = true; bindMounts = { "/persist" = { hostPath = "/persist/containers/pad-i4f"; diff --git a/parsons/mattermost.nix b/parsons/mattermost.nix index 1f46059..890d16a 100644 --- a/parsons/mattermost.nix +++ b/parsons/mattermost.nix @@ -10,6 +10,7 @@ privateNetwork = true; hostAddress = "192.168.100.1"; localAddress = "192.168.100.3"; + ephemeral = true; bindMounts = { "/persist" = { diff --git a/parsons/nextcloud.nix b/parsons/nextcloud.nix index 1130ea7..85bfcb6 100644 --- a/parsons/nextcloud.nix +++ b/parsons/nextcloud.nix @@ -6,6 +6,7 @@ privateNetwork = true; hostAddress = "192.168.100.1"; localAddress = "192.168.100.2"; + ephemeral = true; bindMounts = { "/persist" = { hostPath = "/persist/containers/nextcloud"; diff --git a/parsons/tracktrain.nix b/parsons/tracktrain.nix index 0440e57..c1ae335 100644 --- a/parsons/tracktrain.nix +++ b/parsons/tracktrain.nix @@ -45,6 +45,7 @@ in hostAddress = "192.168.42.40"; localAddress = "192.168.42.41"; autoStart = true; + ephemeral = true; bindMounts = { "/persist" = { hostPath = "/persist/containers/tracktrain"; diff --git a/parsons/uffd.nix b/parsons/uffd.nix index c7cbbef..b2d2048 100644 --- a/parsons/uffd.nix +++ b/parsons/uffd.nix @@ -6,6 +6,7 @@ hostAddress = "192.168.100.1"; localAddress = "192.168.100.9"; autoStart = true; + ephemeral = true; bindMounts = { "/persist" = { hostPath = "/persist/containers/uffd";