From 93c2e8ac5d8b277c30a9ac9545f464b0e8186786 Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Wed, 19 Jun 2024 12:49:23 +0700 Subject: [PATCH] podman: added auto update labels --- system/podman/pihole.nix | 5 ++++- system/podman/qbittorrent.nix | 3 +++ system/podman/redmage-demo.nix | 3 +++ system/podman/redmage.nix | 3 +++ system/podman/suwayomi.nix | 3 +++ system/podman/ytptube.nix | 3 +++ 6 files changed, 19 insertions(+), 1 deletion(-) diff --git a/system/podman/pihole.nix b/system/podman/pihole.nix index 55ffbb3..d85ccd8 100644 --- a/system/podman/pihole.nix +++ b/system/podman/pihole.nix @@ -5,7 +5,7 @@ let pihole = podman.pihole; inherit (lib) mkIf attrsets; ip = "10.88.1.1"; - image = "pihole/pihole:latest"; + image = "docker.io/pihole/pihole:latest"; piholeDNSIPBind = "192.168.100.3"; in { @@ -82,6 +82,9 @@ in "--cap-add=SYS_NICE" "--cap-add=CHOWN" ]; + labels = { + "io.containers.autoupdate" = "registry"; + }; }; }; } diff --git a/system/podman/qbittorrent.nix b/system/podman/qbittorrent.nix index 8c962ab..4fe9f1d 100644 --- a/system/podman/qbittorrent.nix +++ b/system/podman/qbittorrent.nix @@ -48,6 +48,9 @@ in "--ip=${ip}" "--network=podman" ]; + labels = { + "io.containers.autoupdate" = "registry"; + }; }; }; } diff --git a/system/podman/redmage-demo.nix b/system/podman/redmage-demo.nix index 05a221e..15c34c2 100644 --- a/system/podman/redmage-demo.nix +++ b/system/podman/redmage-demo.nix @@ -39,6 +39,9 @@ in "--network=podman" "--ip=${ip}" ]; + labels = { + "io.containers.autoupdate" = "registry"; + }; }; }; diff --git a/system/podman/redmage.nix b/system/podman/redmage.nix index 3956218..c2b8175 100644 --- a/system/podman/redmage.nix +++ b/system/podman/redmage.nix @@ -39,6 +39,9 @@ in "--network=podman" "--ip=${ip}" ]; + labels = { + "io.containers.autoupdate" = "registry"; + }; }; }; diff --git a/system/podman/suwayomi.nix b/system/podman/suwayomi.nix index 8133afb..43c39f3 100644 --- a/system/podman/suwayomi.nix +++ b/system/podman/suwayomi.nix @@ -66,6 +66,9 @@ in "--ip=${ip-flaresolverr}" "--network=podman" ]; + labels = { + "io.containers.autoupdate" = "registry"; + }; }; }; } diff --git a/system/podman/ytptube.nix b/system/podman/ytptube.nix index 9ec29ae..69cc7de 100644 --- a/system/podman/ytptube.nix +++ b/system/podman/ytptube.nix @@ -76,6 +76,9 @@ in "--ip=${ip}" "--network=podman" ]; + labels = { + "io.containers.autoupdate" = "registry"; + }; }; }; }