From 1ddbb6df5abde686134e271045554f7d71338039 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Sat, 9 Dec 2023 23:18:10 +0100 Subject: [PATCH] Update to 1.90.2 and adjust some resources allocation --- variables.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/variables.yml b/variables.yml index 488ece5..22b513f 100644 --- a/variables.yml +++ b/variables.yml @@ -6,7 +6,7 @@ immich: instance: immich # Immich version - version: v1.89.0 + version: v1.90.2 # API server settings server: @@ -18,12 +18,13 @@ immich: env: DB_URL: '{{ with secret "[[ .vault.prefix ]]database/creds/[[ .immich.instance ]]" }}postgres://{{ .Data.username }}:{{ urlquery .Data.password }}@localhost:5432/[[ .immich.instance ]]{{ end }}' TYPESENSE_API_KEY: '{{ with secret "[[ .vault.prefix ]]kv/service/[[ .immich.instance ]]" }}{{ .Data.data.typesense_api_key }}{{ end }}' - NODE_OPTIONS: --max_old_space_size={{ env "NOMAD_MEMORY_LIMIT" | parseInt | divide 2 }} + NODE_OPTIONS: --max-old-space-size={{ env "NOMAD_MEMORY_LIMIT" }} # Resource allocation resources: cpu: 300 memory: 320 + memory_max: 512 # Wait for services to be ready before starting wait_for: @@ -82,12 +83,13 @@ immich: env: DB_URL: '{{ with secret "[[ .vault.prefix ]]database/creds/[[ .immich.instance ]]" }}postgres://{{ .Data.username }}:{{ urlquery .Data.password }}@localhost:5432/[[ .immich.instance ]]{{ end }}' TYPESENSE_API_KEY: '{{ with secret "[[ .vault.prefix ]]kv/service/[[ .immich.instance ]]" }}{{ .Data.data.typesense_api_key }}{{ end }}' - NODE_OPTIONS: --max_old_space_size={{ env "NOMAD_MEMORY_LIMIT" | parseInt | divide 2 }} + NODE_OPTIONS: --max-old-space-size={{ env "NOMAD_MEMORY_LIMIT" }} # Resource allocation resources: cpu: 500 - memory: 768 + memory: 1024 + memory_max: 1536 # The machine learning machine_learning: