From 5038ada0f753e9aa57f900321ee1dc36a279b61d Mon Sep 17 00:00:00 2001 From: Rescla Date: Tue, 14 Jul 2026 13:38:21 +0200 Subject: [PATCH] Try adding some quadlets --- leap/README.md | 1 + leap/photoprism/photoprism.container | 20 ++++++++++++++++++++ leap/public.network | 11 +++++++++++ 3 files changed, 32 insertions(+) create mode 100644 leap/README.md create mode 100644 leap/photoprism/photoprism.container create mode 100644 leap/public.network diff --git a/leap/README.md b/leap/README.md new file mode 100644 index 0000000..21f675f --- /dev/null +++ b/leap/README.md @@ -0,0 +1 @@ +`podman quadlet install https://gitea.rescla.me/rescla/qnap-containers/raw/branch/main/leap/photoprism.container` \ No newline at end of file diff --git a/leap/photoprism/photoprism.container b/leap/photoprism/photoprism.container new file mode 100644 index 0000000..b625a7f --- /dev/null +++ b/leap/photoprism/photoprism.container @@ -0,0 +1,20 @@ +[Unit] +Description=Photoprism Marc + +[Container] +ContainerName=photoprism +Image=photoprism/photoprism:latest +Restart=always +AutoUpdate=registry + +HealthCmd=http://192.168.3.12:2342/api/v1/status + +Network=public.network +HostName=photoprism + +Volume=truenas-photoprism-originals:/photoprism/originals +Volume=truenas-photoprism-import:/photoprism/import +Volume=truenas-photoprism-data:/photoprism/storage + +Network=public +IP=192.168.3.12 \ No newline at end of file diff --git a/leap/public.network b/leap/public.network new file mode 100644 index 0000000..d092177 --- /dev/null +++ b/leap/public.network @@ -0,0 +1,11 @@ +[Unit] +Description=Public network +After=podman-user-wait-network-online.service + +[Network] +NetworkDriver=macvlan +Subnet=192.168.3.0/24 +Gateway=192.168.3.1 +IPRange=192.168.3.128/25 +Parent=ens19 +