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" {
datacenters = ["dc1"]
@ -116,7 +118,7 @@ job "immich" {
user = 3001
config {
image = "ghcr.io/immich-app/immich-server:v1.92.1"
image = "ghcr.io/immich-app/immich-server:v1.93.0"
readonly_rootfs = true
command = "start.sh"
args = ["immich"]
@ -181,7 +183,7 @@ _EOT
user = 3001
config {
image = "ghcr.io/immich-app/immich-server:v1.92.1"
image = "ghcr.io/immich-app/immich-server:v1.93.0"
readonly_rootfs = true
command = "start.sh"
args = ["microservices"]
@ -311,7 +313,7 @@ _EOT
user = 3001
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
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 . -]]
@ -71,13 +71,13 @@ job [[ .instance | toJSON ]] {
# The main immich API server
task "server" {
driver = [[ $c.nomad.driver | toJSON ]]
driver = "[[ $c.nomad.driver ]]"
leader = true
# Run as an unprivileged user
user = 3001
config {
image = [[ $c.image | toJSON ]]
image = "[[ $c.image ]]"
readonly_rootfs = true
command = "start.sh"
args = ["immich"]
@ -108,7 +108,7 @@ _EOT
}
volume_mount {
volume = "data"
volume = "data"
destination = "/data"
}
@ -120,12 +120,12 @@ _EOT
# microservices is tha task worker, doing all the processing async
task "microservices" {
driver = [[ $c.nomad.driver | toJSON ]]
driver = "[[ $c.nomad.driver ]]"
# Run as an unpriviliged user
user = 3001
config {
image = [[ $c.image | toJSON ]]
image = "[[ $c.image ]]"
readonly_rootfs = true
command = "start.sh"
args = ["microservices"]
@ -186,11 +186,11 @@ _EOT
[[ $c := merge .immich.machine_learning .immich . ]]
task "machine-learning" {
driver = [[ $c.nomad.driver | toJSON ]]
driver = "[[ $c.nomad.driver ]]"
user = 3001
config {
image = [[ $c.image | toJSON ]]
image = "[[ $c.image ]]"
readonly_rootfs = true
pids_limit = 200
}

View File

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