From a9a919b8f234a6664b52c63b29a1dc58cc126953 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Fri, 22 Mar 2024 21:09:19 -0700 Subject: [PATCH] Increase priority for sevices with highee resources Photoprism requires lots if mem and sonar a specific volume --- services/photoprism.tf | 1 + services/sonarr.tf | 2 ++ 2 files changed, 3 insertions(+) diff --git a/services/photoprism.tf b/services/photoprism.tf index fc5d767..eb2f170 100644 --- a/services/photoprism.tf +++ b/services/photoprism.tf @@ -9,6 +9,7 @@ module "photoprism_module" { # # operator = "is_set" # value = "raspberry" # }] + priority = 60 # docker_devices = [{ # host_path = "$${meta.hw_transcode.device}" diff --git a/services/sonarr.tf b/services/sonarr.tf index 9327eb6..6cd78e3 100644 --- a/services/sonarr.tf +++ b/services/sonarr.tf @@ -4,6 +4,8 @@ module "sonarr" { name = "sonarr" image = "lscr.io/linuxserver/sonarr:4.0.0" + priority = 55 + ingress = true service_port = 8989 use_wesher = var.use_wesher