mirror of
https://github.com/Retropex/umbrel-apps.git
synced 2025-05-13 03:40:42 +02:00
Updating Immich to 1.54.1 (#526)
Co-authored-by: nmfretz <nmfretz@gmail.com>
This commit is contained in:
parent
b0484934aa
commit
01d79dd223
0
immich/data/model-cache/.gitkeep
Normal file
0
immich/data/model-cache/.gitkeep
Normal file
0
immich/data/tsdata/.gitkeep
Normal file
0
immich/data/tsdata/.gitkeep
Normal file
@ -1,36 +1,44 @@
|
|||||||
version: "3.7"
|
version: "3.7"
|
||||||
|
|
||||||
|
x-environment: &env
|
||||||
|
NODE_ENV: "production"
|
||||||
|
DB_HOSTNAME: "immich_postgres_1"
|
||||||
|
DB_USERNAME: &db_username "immich"
|
||||||
|
DB_PASSWORD: &db_password "moneyprintergobrrr"
|
||||||
|
DB_DATABASE_NAME: &db_database_name "immich"
|
||||||
|
REDIS_HOSTNAME: "immich_redis_1"
|
||||||
|
LOG_LEVEL: "simple"
|
||||||
|
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_SERVER_URL: &immich_server_url "http://immich_server_1:3001"
|
||||||
|
IMMICH_WEB_URL: &immich_web_url "http://immich_web_1:3000"
|
||||||
|
IMMICH_MACHINE_LEARNING_URL: "http://immich_machine-learning_1:3003"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app_proxy:
|
app_proxy:
|
||||||
environment:
|
environment:
|
||||||
APP_HOST: immich_proxy_1
|
APP_HOST: immich_proxy_1
|
||||||
APP_PORT: 8080
|
APP_PORT: 8080
|
||||||
PROXY_AUTH_WHITELIST: "/api/*"
|
PROXY_AUTH_WHITELIST: "/api/*,/search/*"
|
||||||
|
|
||||||
server:
|
server:
|
||||||
image: altran1502/immich-server:v1.40.0_63-dev@sha256:c61f6c5373efb4544db8d04e6e090b77561b71b07d4f272821a6349a18531e37
|
image: altran1502/immich-server:v1.60.0@sha256:b3957954fb83ca987db7fd61b2f3f095c85ce9c89d89e5f355dbe33cee30c017
|
||||||
entrypoint: ["/bin/sh", "./start-server.sh"]
|
entrypoint: ["/bin/sh", "./start-server.sh"]
|
||||||
volumes:
|
volumes:
|
||||||
- ${APP_DATA_DIR}/data/upload:/usr/src/app/upload
|
- ${APP_DATA_DIR}/data/upload:/usr/src/app/upload
|
||||||
environment:
|
environment:
|
||||||
NODE_ENV: production
|
<<: *env
|
||||||
DB_HOSTNAME: immich_postgres_1
|
|
||||||
DB_USERNAME: ${APP_IMMICH_DB_USERNAME}
|
|
||||||
DB_PASSWORD: ${APP_IMMICH_DB_PASSWORD}
|
|
||||||
DB_DATABASE_NAME: ${APP_IMMICH_DB_DATABASE_NAME}
|
|
||||||
REDIS_HOSTNAME: immich_redis_1
|
|
||||||
LOG_LEVEL: ${APP_IMMICH_LOG_LEVEL}
|
|
||||||
JWT_SECRET: ${APP_SEED}
|
|
||||||
DISABLE_REVERSE_GEOCODING: ${APP_IMMICH_DISABLE_REVERSE_GEOCODING}
|
|
||||||
REVERSE_GEOCODING_PRECISION: ${APP_IMMICH_REVERSE_GEOCODING_PRECISION}
|
|
||||||
PUBLIC_LOGIN_PAGE_MESSAGE: ${APP_IMMICH_PUBLIC_LOGIN_PAGE_MESSAGE}
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- postgres
|
- postgres
|
||||||
|
- typesense
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
|
||||||
microservices:
|
microservices:
|
||||||
image: altran1502/immich-server:v1.40.0_63-dev@sha256:c61f6c5373efb4544db8d04e6e090b77561b71b07d4f272821a6349a18531e37
|
image: altran1502/immich-server:v1.60.0@sha256:b3957954fb83ca987db7fd61b2f3f095c85ce9c89d89e5f355dbe33cee30c017
|
||||||
# This service cannot run under 1000:1000
|
# This service cannot run under 1000:1000
|
||||||
# And because the uploads are shared
|
# And because the uploads are shared
|
||||||
# We'll run immich specific services as root
|
# We'll run immich specific services as root
|
||||||
@ -38,65 +46,45 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ${APP_DATA_DIR}/data/upload:/usr/src/app/upload
|
- ${APP_DATA_DIR}/data/upload:/usr/src/app/upload
|
||||||
environment:
|
environment:
|
||||||
NODE_ENV: production
|
<<: *env
|
||||||
DB_HOSTNAME: immich_postgres_1
|
|
||||||
DB_USERNAME: ${APP_IMMICH_DB_USERNAME}
|
|
||||||
DB_PASSWORD: ${APP_IMMICH_DB_PASSWORD}
|
|
||||||
DB_DATABASE_NAME: ${APP_IMMICH_DB_DATABASE_NAME}
|
|
||||||
REDIS_HOSTNAME: immich_redis_1
|
|
||||||
LOG_LEVEL: ${APP_IMMICH_LOG_LEVEL}
|
|
||||||
JWT_SECRET: ${APP_SEED}
|
|
||||||
DISABLE_REVERSE_GEOCODING: ${APP_IMMICH_DISABLE_REVERSE_GEOCODING}
|
|
||||||
REVERSE_GEOCODING_PRECISION: ${APP_IMMICH_REVERSE_GEOCODING_PRECISION}
|
|
||||||
PUBLIC_LOGIN_PAGE_MESSAGE: ${APP_IMMICH_PUBLIC_LOGIN_PAGE_MESSAGE}
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- postgres
|
- postgres
|
||||||
|
- typesense
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
|
||||||
machine-learning:
|
machine-learning:
|
||||||
image: altran1502/immich-machine-learning:v1.40.0_63-dev@sha256:a5e660247a5a3c1d1b4ab9d160629def546d7e86e534a55d5ebc0e0eee5cef1a
|
image: altran1502/immich-machine-learning:v1.60.0@sha256:da82c06c084e1421860057cb3d16d9575b69f0ec1c6ab53b21065c76df1e95cd
|
||||||
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
|
||||||
volumes:
|
volumes:
|
||||||
- ${APP_DATA_DIR}/data/upload:/usr/src/app/upload
|
- ${APP_DATA_DIR}/data/upload:/usr/src/app/upload
|
||||||
|
- ${APP_DATA_DIR}/data/model-cache:/cache
|
||||||
environment:
|
environment:
|
||||||
NODE_ENV: production
|
<<: *env
|
||||||
DB_HOSTNAME: immich_postgres_1
|
|
||||||
DB_USERNAME: ${APP_IMMICH_DB_USERNAME}
|
|
||||||
DB_PASSWORD: ${APP_IMMICH_DB_PASSWORD}
|
|
||||||
DB_DATABASE_NAME: ${APP_IMMICH_DB_DATABASE_NAME}
|
|
||||||
REDIS_HOSTNAME: immich_redis_1
|
|
||||||
LOG_LEVEL: ${APP_IMMICH_LOG_LEVEL}
|
|
||||||
JWT_SECRET: ${APP_SEED}
|
|
||||||
DISABLE_REVERSE_GEOCODING: ${APP_IMMICH_DISABLE_REVERSE_GEOCODING}
|
|
||||||
REVERSE_GEOCODING_PRECISION: ${APP_IMMICH_REVERSE_GEOCODING_PRECISION}
|
|
||||||
PUBLIC_LOGIN_PAGE_MESSAGE: ${APP_IMMICH_PUBLIC_LOGIN_PAGE_MESSAGE}
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
|
||||||
web:
|
web:
|
||||||
image: altran1502/immich-web:v1.40.0_63-dev@sha256:abad6488afaa1d0b4b8ea818221b86e7b45bf72a1ea328d8c0f35ad266b9e544
|
image: altran1502/immich-web:v1.60.0@sha256:32e352cde02c6d2e6e439c77ca99c4bdf9daf808eee9ce9f1282688bcdec75be
|
||||||
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
||||||
environment:
|
environment:
|
||||||
DB_HOSTNAME: immich_postgres_1
|
<<: *env
|
||||||
DB_USERNAME: ${APP_IMMICH_DB_USERNAME}
|
restart: on-failure
|
||||||
DB_PASSWORD: ${APP_IMMICH_DB_PASSWORD}
|
|
||||||
DB_DATABASE_NAME: ${APP_IMMICH_DB_DATABASE_NAME}
|
typesense:
|
||||||
REDIS_HOSTNAME: immich_redis_1
|
image: typesense/typesense:0.24.0@sha256:3cc1251f09ef6c75a5b1f2751c04e7265c770c0f2b69cba1f9a9f20da57cfa28
|
||||||
LOG_LEVEL: ${APP_IMMICH_LOG_LEVEL}
|
environment:
|
||||||
JWT_SECRET: ${APP_SEED}
|
TYPESENSE_API_KEY: *typesense_api_key
|
||||||
DISABLE_REVERSE_GEOCODING: ${APP_IMMICH_DISABLE_REVERSE_GEOCODING}
|
TYPESENSE_DATA_DIR: "/data"
|
||||||
REVERSE_GEOCODING_PRECISION: ${APP_IMMICH_REVERSE_GEOCODING_PRECISION}
|
volumes:
|
||||||
PUBLIC_LOGIN_PAGE_MESSAGE: ${APP_IMMICH_PUBLIC_LOGIN_PAGE_MESSAGE}
|
- ${APP_DATA_DIR}/data/tsdata:/data
|
||||||
PUBLIC_IMMICH_SERVER_URL: "http://immich_server_1:3001"
|
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
image: altran1502/immich-proxy:v1.40.0_63-dev@sha256:f779b86497b3d4b8822ec0d7341cfd2d1f1688b8859c70a9b16bd36d01468865
|
image: altran1502/immich-proxy:v1.60.0@sha256:8a5c0d80761b5de627c7135f14e87b6338aff5185ab7690ac4a30e719256f01e
|
||||||
environment:
|
environment:
|
||||||
IMMICH_WEB_URL: "http://immich_web_1:3000"
|
IMMICH_SERVER_URL: *immich_server_url
|
||||||
IMMICH_SERVER_URL: "http://immich_server_1:3001"
|
IMMICH_WEB_URL: *immich_web_url
|
||||||
depends_on:
|
depends_on:
|
||||||
- server
|
- server
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
@ -112,10 +100,11 @@ services:
|
|||||||
image: postgres:14-bullseye@sha256:135c62a8134dcef829a1e4f5568bfae44bcfa2c75659ff948f43c71964366aa4
|
image: postgres:14-bullseye@sha256:135c62a8134dcef829a1e4f5568bfae44bcfa2c75659ff948f43c71964366aa4
|
||||||
user: "1000:1000"
|
user: "1000:1000"
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: ${APP_IMMICH_DB_USERNAME}
|
<<: *env
|
||||||
POSTGRES_PASSWORD: ${APP_IMMICH_DB_PASSWORD}
|
POSTGRES_PASSWORD: *db_password
|
||||||
POSTGRES_DB: ${APP_IMMICH_DB_DATABASE_NAME}
|
POSTGRES_USER: *db_username
|
||||||
|
POSTGRES_DB: *db_database_name
|
||||||
PG_DATA: /var/lib/postgresql/data
|
PG_DATA: /var/lib/postgresql/data
|
||||||
volumes:
|
volumes:
|
||||||
- ${APP_DATA_DIR}/data/postgres:/var/lib/postgresql/data
|
- ${APP_DATA_DIR}/data/postgres:/var/lib/postgresql/data
|
||||||
restart: on-failure
|
restart: on-failure
|
@ -1,7 +0,0 @@
|
|||||||
export APP_IMMICH_DB_USERNAME="immich"
|
|
||||||
export APP_IMMICH_DB_PASSWORD="moneyprintergobrrr"
|
|
||||||
export APP_IMMICH_DB_DATABASE_NAME="immich"
|
|
||||||
export APP_IMMICH_LOG_LEVEL="simple"
|
|
||||||
export APP_IMMICH_DISABLE_REVERSE_GEOCODING="false"
|
|
||||||
export APP_IMMICH_REVERSE_GEOCODING_PRECISION="3"
|
|
||||||
export APP_IMMICH_PUBLIC_LOGIN_PAGE_MESSAGE=""
|
|
11
immich/hooks/pre-start
Executable file
11
immich/hooks/pre-start
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/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.
|
||||||
|
|
||||||
|
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"
|
||||||
|
|
||||||
|
[ ! -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}"
|
@ -1,13 +1,16 @@
|
|||||||
manifestVersion: 1
|
manifestVersion: 1.1
|
||||||
id: immich
|
id: immich
|
||||||
category: Files
|
category: Files
|
||||||
name: Immich
|
name: Immich
|
||||||
version: "v1.40.1_63-dev"
|
version: "v1.60.0"
|
||||||
tagline: High performance photo and video backup solution
|
tagline: High performance photo and video backup solution
|
||||||
description: >-
|
description: >-
|
||||||
An open source and high performance self-hosted backup solution for the videos and photos on your mobile device
|
An open source and high performance self-hosted backup solution for the videos and photos on your mobile device
|
||||||
|
|
||||||
|
|
||||||
|
⚠️ Immich is under very active development. Expect bugs and changes. Do not use it as the only way to store your photos and videos!
|
||||||
|
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
|
|
||||||
- Upload and view videos and photos
|
- Upload and view videos and photos
|
||||||
@ -41,7 +44,32 @@ description: >-
|
|||||||
- LivePhoto backup and playback
|
- LivePhoto backup and playback
|
||||||
|
|
||||||
- User-defined storage structure
|
- User-defined storage structure
|
||||||
releaseNotes: ""
|
releaseNotes: >
|
||||||
|
This update brings an absolute ton of new features to Immich, including:
|
||||||
|
|
||||||
|
- Global map view
|
||||||
|
|
||||||
|
- Improved video transcoding
|
||||||
|
|
||||||
|
- Partner sharing
|
||||||
|
|
||||||
|
- Facial recognition
|
||||||
|
|
||||||
|
- Logout all devices with a single click
|
||||||
|
|
||||||
|
- Add descriptions to assets and search using metadata syntax (m:<any-word-in-description>)
|
||||||
|
|
||||||
|
- Archive assets
|
||||||
|
|
||||||
|
- Typesense for better search
|
||||||
|
|
||||||
|
- Dedicated Favorites Page
|
||||||
|
|
||||||
|
- and more!
|
||||||
|
|
||||||
|
|
||||||
|
A full list of new features, improvements, and bug fixes
|
||||||
|
for versions between 1.40.1_63-dev and 1.60.0 can be found at https://github.com/immich-app/immich/releases
|
||||||
developer: Alex Tran
|
developer: Alex Tran
|
||||||
website: https://www.immich.app
|
website: https://www.immich.app
|
||||||
dependencies: []
|
dependencies: []
|
||||||
|
Loading…
Reference in New Issue
Block a user