Update to 1.93.0

This commit is contained in:
Daniel Berteaud 2024-01-19 09:38:49 +01:00
parent b37be5bbe7
commit 0fb4482071
3 changed files with 16 additions and 14 deletions

View File

@ -1,6 +1,8 @@
job "immich" { job "immich" {
datacenters = ["dc1"] datacenters = ["dc1"]
@ -116,7 +118,7 @@ job "immich" {
user = 3001 user = 3001
config { config {
image = "ghcr.io/immich-app/immich-server:v1.92.1" image = "ghcr.io/immich-app/immich-server:v1.93.0"
readonly_rootfs = true readonly_rootfs = true
command = "start.sh" command = "start.sh"
args = ["immich"] args = ["immich"]
@ -181,7 +183,7 @@ _EOT
user = 3001 user = 3001
config { config {
image = "ghcr.io/immich-app/immich-server:v1.92.1" image = "ghcr.io/immich-app/immich-server:v1.93.0"
readonly_rootfs = true readonly_rootfs = true
command = "start.sh" command = "start.sh"
args = ["microservices"] args = ["microservices"]
@ -311,7 +313,7 @@ _EOT
user = 3001 user = 3001
config { config {
image = "ghcr.io/immich-app/immich-machine-learning:v1.92.1" image = "ghcr.io/immich-app/immich-machine-learning:v1.93.0"
readonly_rootfs = true readonly_rootfs = true
pids_limit = 200 pids_limit = 200
} }

View File

@ -1,8 +1,8 @@
[[ $c := merge .immich . -]] job "[[ .instance ]]" {
job [[ .instance | toJSON ]] { [[ $c := merge .immich . ]]
[[ template "common/job_start" . ]] [[ template "common/job_start" $c ]]
[[ $c := merge .immich.server .immich . -]] [[ $c := merge .immich.server .immich . -]]
@ -71,13 +71,13 @@ job [[ .instance | toJSON ]] {
# The main immich API server # The main immich API server
task "server" { task "server" {
driver = [[ $c.nomad.driver | toJSON ]] driver = "[[ $c.nomad.driver ]]"
leader = true leader = true
# Run as an unprivileged user # Run as an unprivileged user
user = 3001 user = 3001
config { config {
image = [[ $c.image | toJSON ]] image = "[[ $c.image ]]"
readonly_rootfs = true readonly_rootfs = true
command = "start.sh" command = "start.sh"
args = ["immich"] args = ["immich"]
@ -108,7 +108,7 @@ _EOT
} }
volume_mount { volume_mount {
volume = "data" volume = "data"
destination = "/data" destination = "/data"
} }
@ -120,12 +120,12 @@ _EOT
# microservices is tha task worker, doing all the processing async # microservices is tha task worker, doing all the processing async
task "microservices" { task "microservices" {
driver = [[ $c.nomad.driver | toJSON ]] driver = "[[ $c.nomad.driver ]]"
# Run as an unpriviliged user # Run as an unpriviliged user
user = 3001 user = 3001
config { config {
image = [[ $c.image | toJSON ]] image = "[[ $c.image ]]"
readonly_rootfs = true readonly_rootfs = true
command = "start.sh" command = "start.sh"
args = ["microservices"] args = ["microservices"]
@ -186,11 +186,11 @@ _EOT
[[ $c := merge .immich.machine_learning .immich . ]] [[ $c := merge .immich.machine_learning .immich . ]]
task "machine-learning" { task "machine-learning" {
driver = [[ $c.nomad.driver | toJSON ]] driver = "[[ $c.nomad.driver ]]"
user = 3001 user = 3001
config { config {
image = [[ $c.image | toJSON ]] image = "[[ $c.image ]]"
readonly_rootfs = true readonly_rootfs = true
pids_limit = 200 pids_limit = 200
} }

View File

@ -6,7 +6,7 @@ instance: immich
immich: immich:
# Immich version # Immich version
version: v1.92.1 version: v1.93.0
postgres: postgres:
database: '[[ .instance ]]' database: '[[ .instance ]]'