1
0

chore(deps): update immich to v2.5.6 (#3961)

This commit is contained in:
renovate[bot]
2026-02-10 21:52:50 +00:00
committed by GitHub
parent f7ca437c64
commit 791c5c2df0
9 changed files with 5 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
CONTAINER_NAME="immich"
PANEL_APP_PORT_HTTP="40194"
PANEL_DB_NAME="immich"
PANEL_DB_USER="postgres"
PANEL_DB_USER_PASSWORD="immich_BfcHCZ"
UPLOAD_LOCATION="./data/upload"
CACHE_PATH="./data/cache"
DB_PATH="./data/data"

View File

@@ -0,0 +1,77 @@
additionalProperties:
formFields:
- default: 40194
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
label:
en: Port
zh: 端口
required: true
rule: paramPort
type: number
- default: ./data/upload
edit: true
envKey: UPLOAD_LOCATION
labelEn: Path to folder for uploading
labelZh: 上传用文件夹路径
label:
en: Path to folder for uploading
zh: 上传用文件夹路径
required: true
type: text
- default: ./data/cache
edit: true
envKey: CACHE_PATH
labelEn: Cache folder path
labelZh: 缓存文件夹路径
label:
en: Cache folder path
zh: 缓存文件夹路径
required: true
type: text
- default: ./data/data
edit: true
envKey: DB_PATH
labelEn: Database folder path
labelZh: 数据库文件夹路径
label:
en: Database folder path
zh: 数据库文件夹路径
required: true
type: text
- default: immich
edit: true
envKey: PANEL_DB_NAME
labelEn: Database
labelZh: 数据库名
label:
en: Database
zh: 数据库名
required: true
rule: paramCommon
type: text
- default: postgres
edit: true
envKey: PANEL_DB_USER
labelEn: Postgres User
labelZh: Postgres 数据库用户
label:
en: Postgres User
zh: Postgres 数据库用户
required: true
rule: paramCommon
type: text
- default: immich
edit: true
envKey: PANEL_DB_USER_PASSWORD
labelEn: Postgres Password
labelZh: Postgres 数据库用户密码
label:
en: Postgres Password
zh: Postgres 数据库用户密码
random: true
required: true
rule: paramComplexity
type: password

View File

@@ -0,0 +1,94 @@
services:
immich-server:
container_name: ${CONTAINER_NAME}-server
restart: always
networks:
- 1panel-network
image: altran1502/immich-server:v2.5.6
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
environment:
- DB_PASSWORD=${PANEL_DB_USER_PASSWORD}
- DB_HOSTNAME=${CONTAINER_NAME}-postgres
- DB_USERNAME=${PANEL_DB_USER}
- DB_DATABASE_NAME=${PANEL_DB_NAME}
- REDIS_HOSTNAME=${CONTAINER_NAME}-redis
ports:
- ${PANEL_APP_PORT_HTTP}:2283
depends_on:
- immich-redis
- immich-database
healthcheck:
disable: false
labels:
createdBy: "Apps"
immich-machine-learning:
container_name: ${CONTAINER_NAME}-machine_learning
restart: always
networks:
- 1panel-network
image: altran1502/immich-machine-learning:v2.5.6
volumes:
- ${CACHE_PATH}:/cache
environment:
- DB_PASSWORD=${PANEL_DB_USER_PASSWORD}
- DB_HOSTNAME=${CONTAINER_NAME}-postgres
- DB_USERNAME=${PANEL_DB_USER}
- DB_DATABASE_NAME=${PANEL_DB_NAME}
- REDIS_HOSTNAME=${CONTAINER_NAME}-redis
healthcheck:
disable: false
labels:
createdBy: "Apps"
immich-redis:
container_name: ${CONTAINER_NAME}-redis
restart: always
networks:
- 1panel-network
image: "redis:6.2-alpine"
healthcheck:
test: redis-cli ping || exit 1
labels:
createdBy: "Apps"
immich-database:
container_name: ${CONTAINER_NAME}-postgres
restart: always
networks:
- 1panel-network
image: "tensorchord/pgvecto-rs:pg14-v0.2.0"
environment:
- REDIS_HOSTNAME=${CONTAINER_NAME}-redis
- POSTGRES_PASSWORD=${PANEL_DB_USER_PASSWORD}
- POSTGRES_USER=${PANEL_DB_USER}
- POSTGRES_DB=${PANEL_DB_NAME}
- POSTGRES_INITDB_ARGS=--data-checksums
volumes:
- ${DB_PATH}:/var/lib/postgresql/data
healthcheck:
test: >-
pg_isready --dbname="$${PANEL_DB_NAME}" --username="$${PANEL_DB_USER}" || exit 1;
Chksum="$$(psql --dbname="$${PANEL_DB_NAME}" --username="$${PANEL_DB_USER}" --tuples-only --no-align
--command='SELECT COALESCE(SUM(checksum_failures), 0) FROM pg_stat_database')";
echo "checksum failure count is $$Chksum";
[ "$$Chksum" = '0' ] || exit 1
interval: 5m
start_interval: 30s
start_period: 5m
command: >-
postgres
-c shared_preload_libraries=vectors.so
-c 'search_path="$$user", public, vectors'
-c logging_collector=on
-c max_wal_size=2GB
-c shared_buffers=512MB
-c wal_compression=on
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true