From 03ce47320cffaaab60e118dfdb0a29e950ce494e Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Wed, 2 Oct 2024 11:28:24 -0700 Subject: [PATCH] Add scheduled import for photoprism --- services/photoprism.tf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/services/photoprism.tf b/services/photoprism.tf index 5f35a06..f671e64 100644 --- a/services/photoprism.tf +++ b/services/photoprism.tf @@ -107,4 +107,13 @@ module "photoprism" { mount = false }, ] + + actions = [ + { + name = "import" + command = "photoprism" + args = ["import", "/photoprism-media/Import"] + cron = "@daily" + }, + ] }