Update Immich to 1.91.4 (#912)

Co-authored-by: smolgrrr <smolgrrr@protonmail.com>
Co-authored-by: nmfretz <nmfretz@gmail.com>
This commit is contained in:
Mateo Silguero 2023-12-20 16:50:36 -03:00 committed by GitHub
parent 3fd291067f
commit 1fbbcef553
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 26 deletions

View File

@ -7,12 +7,11 @@ x-environment: &env
DB_PASSWORD: &db_password "moneyprintergobrrr"
DB_DATABASE_NAME: &db_database_name "immich"
REDIS_HOSTNAME: "immich_redis_1"
LOG_LEVEL: "simple"
LOG_LEVEL: "log"
JWT_SECRET: ${APP_SEED}
DISABLE_REVERSE_GEOCODING: "false"
REVERSE_GEOCODING_PRECISION: "3"
PUBLIC_LOGIN_PAGE_MESSAGE: ""
TYPESENSE_API_KEY: &typesense_api_key "any-text-for-self-hosted-typesense"
IMMICH_MACHINE_LEARNING_URL: "http://immich_machine-learning_1:3003"
services:
@ -23,7 +22,7 @@ services:
PROXY_AUTH_WHITELIST: "/api/*,/search/*"
server:
image: ghcr.io/immich-app/immich-server:v1.88.2@sha256:ac214c6c4e7f6c2133b885d9e6ebc7696cbcf96a148c95746eef15eef0cea71a
image: ghcr.io/immich-app/immich-server:v1.91.4@sha256:f1dd777fd38f30fc17a3dbe6a9f7dc9c548c41f9688908bf79d4109733e09b54
command: [ "start.sh", "immich" ]
volumes:
- ${APP_DATA_DIR}/data/upload:/usr/src/app/upload
@ -32,11 +31,10 @@ services:
depends_on:
- redis
- postgres
- typesense
restart: on-failure
microservices:
image: ghcr.io/immich-app/immich-server:v1.88.2@sha256:ac214c6c4e7f6c2133b885d9e6ebc7696cbcf96a148c95746eef15eef0cea71a
image: ghcr.io/immich-app/immich-server:v1.91.4@sha256:f1dd777fd38f30fc17a3dbe6a9f7dc9c548c41f9688908bf79d4109733e09b54
# This service cannot run under 1000:1000
# And because the uploads are shared
# We'll run immich specific services as root
@ -48,26 +46,16 @@ services:
depends_on:
- redis
- postgres
- typesense
restart: on-failure
machine-learning:
image: ghcr.io/immich-app/immich-machine-learning:v1.88.2@sha256:134b6d16b76acd2b6a6ee43c6866668c1c00c33fb3c989bbae5ad867acc2f71b
image: ghcr.io/immich-app/immich-machine-learning:v1.91.4@sha256:634c4a66ea5c8a6e4679d7560d34abda67f88dc1d6adda18f56c00c58a07ac6d
volumes:
- ${APP_DATA_DIR}/data/model-cache:/cache
environment:
<<: *env
restart: on-failure
typesense:
image: typesense/typesense:0.24.1@sha256:9bcff2b829f12074426ca044b56160ca9d777a0c488303469143dd9f8259d4dd
environment:
TYPESENSE_API_KEY: *typesense_api_key
TYPESENSE_DATA_DIR: "/data"
volumes:
- ${APP_DATA_DIR}/data/tsdata:/data
restart: on-failure
redis:
image: redis:6.2-alpine@sha256:70a7a5b641117670beae0d80658430853896b5ef269ccf00d1827427e3263fa3
user: "1000:1000"
@ -76,7 +64,7 @@ services:
- ${APP_DATA_DIR}/data/redis:/data
postgres:
image: postgres:14-alpine@sha256:28407a9961e76f2d285dc6991e8e48893503cc3836a4755bbc2d40bcc272a441
image: tensorchord/pgvecto-rs:pg14-v0.1.11@sha256:0335a1a22f8c5dd1b697f14f079934f5152eaaa216c09b61e293be285491f8ee
user: "1000:1000"
environment:
<<: *env

View File

@ -1,11 +1,14 @@
#!/usr/bin/env bash
# This script sets up the necessary directories and permissions for model-cache and tsdata that were added after the initial release of the app.
# This script sets up necessary directories/permissions that have changed in the app since the initial release.
set -euo pipefail
APP_DATA_DIR="$(readlink -f $(dirname "${BASH_SOURCE[0]}")/..)/data"
MODEL_CACHE_DIR="${APP_DATA_DIR}/model-cache"
TYPESENSE_DIR="${APP_DATA_DIR}/tsdata"
# Create model-cache directory if it doesn't exist
MODEL_CACHE_DIR="${APP_DATA_DIR}/model-cache"
[ ! -d "${MODEL_CACHE_DIR}" ] && mkdir -p "${MODEL_CACHE_DIR}" && chown 1000:1000 "${MODEL_CACHE_DIR}"
[ ! -d "${TYPESENSE_DIR}" ] && mkdir -p "${TYPESENSE_DIR}" && chown 1000:1000 "${TYPESENSE_DIR}"
# delete tsdata directory if it exists
TYPESENSE_DIR="${APP_DATA_DIR}/tsdata"
[ -d "${TYPESENSE_DIR}" ] && rm -rf "${TYPESENSE_DIR}"

View File

@ -2,7 +2,7 @@ manifestVersion: 1.1
id: immich
category: files
name: Immich
version: "v1.88.2"
version: "v1.91.4"
tagline: High-performance photo and video backup solution
description: >-
An open-source and high-performance self-hosted backup solution for the videos and photos on your mobile device
@ -45,11 +45,11 @@ description: >-
- User-defined storage structure
releaseNotes: >-
⚠️ Your mobile app must be on at least version 1.88.0 to work with this release of Immich.
⚠️ Your mobile app must be on at least version 1.91.0 to work with this release of Immich.
In this release we have simplified how Immich is deployed, beautified our app interface with a new font, namely Overpass,
and finally released version 2 of our command line interface (CLI), which has been in the works for the past six months.
🚨 iOS Live Photos uploaded after v1.89.0 that are not linked need to be deleted and re-uploaded from the mobile app.
This is a one-time action, and future live photos uploaded from the mobile app will be properly linked together.
Full release notes are found at: https://github.com/immich-app/immich/releases