From cae4ceb623e098a343951e68a5aafae366b5ad5e Mon Sep 17 00:00:00 2001 From: vincent Date: Tue, 25 Jun 2024 18:44:51 +0200 Subject: [PATCH] update: remove immich microservice --- nomad-job/immich.nomad.hcl | 50 ++------------------------------------ 1 file changed, 2 insertions(+), 48 deletions(-) diff --git a/nomad-job/immich.nomad.hcl b/nomad-job/immich.nomad.hcl index dc28c34..3d4cd34 100644 --- a/nomad-job/immich.nomad.hcl +++ b/nomad-job/immich.nomad.hcl @@ -22,9 +22,6 @@ job "immich" { port "machinelearning" { to = 3003 } - port "microservices" { - to = 3002 - } } volume "immich-upload" { type = "csi" @@ -76,8 +73,6 @@ job "immich" { } config { image = "ghcr.service.consul:5000/immich-app/immich-server:release" - command = "start.sh" - args = ["immich"] ports = ["http"] volumes = [ "/etc/localtime:/etc/localtime" @@ -101,51 +96,10 @@ job "immich" { env = true } resources { - memory = 300 + memory = 500 } } - task "immich-microservce" { - driver = "docker" - volume_mount { - volume = "immich-upload" - destination = "/usr/src/app/upload" - } - volume_mount { - volume = "photo" - destination = "/photo" - } - config { - image = "ghcr.service.consul:5000/immich-app/immich-server:release" - command = "start.sh" - ports = ["microservices"] - args = ["microservices"] - volumes = [ - "/etc/localtime:/etc/localtime" - ] - - } - - template { - data = <