5 Commits

Author SHA1 Message Date
f4b19d111c Reintroduce healthcheck for database
While the new image (ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0) includes a healthcheck now, it only considers POSTGRES_DB and POSTGRES_USER, not POSTGRES_DB_FILE and POSTGRES_USER_FILE used with docker secrets
2025-05-23 23:28:35 +02:00
9a52f5f239 Update ghcr.io/immich-app/immich-server Docker tag to v1.133.1 2025-05-23 23:18:56 +02:00
afcd9dbfa5 Migrate from redis to valkey 2025-05-23 23:17:49 +02:00
e9b0048375 Migrate deprecated pgvecto.rs database extension to successor VectorChord 2025-05-23 22:49:03 +02:00
93a609e626 Update immich to v1.133.0 2025-05-23 08:03:40 +00:00
2 changed files with 7 additions and 13 deletions

View File

@ -2,7 +2,7 @@ name: immich
services: services:
server: server:
image: ghcr.io/immich-app/immich-server:v1.132.3 image: ghcr.io/immich-app/immich-server:v1.133.1
container_name: immich_server container_name: immich_server
# extends: # extends:
# file: hwaccel.transcoding.yml # file: hwaccel.transcoding.yml
@ -36,7 +36,7 @@ services:
machine-learning: machine-learning:
# For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag. # For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag.
# Example tag: ${IMMICH_VERSION:-release}-cuda # Example tag: ${IMMICH_VERSION:-release}-cuda
image: ghcr.io/immich-app/immich-machine-learning:v1.132.3 image: ghcr.io/immich-app/immich-machine-learning:v1.133.1
container_name: immich_machine_learning container_name: immich_machine_learning
# extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration # extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration
# file: hwaccel.ml.yml # file: hwaccel.ml.yml
@ -51,7 +51,7 @@ services:
redis: redis:
container_name: immich_redis container_name: immich_redis
image: docker.io/redis:6.2-alpine@sha256:148bb5411c184abd288d9aaed139c98123eeb8824c5d3fce03cf721db58066d8 image: docker.io/valkey/valkey:8-bookworm@sha256:ff21bc0f8194dc9c105b769aeabf9585fea6a8ed649c0781caeac5cb3c247884
restart: unless-stopped restart: unless-stopped
healthcheck: healthcheck:
test: redis-cli ping || exit 1 test: redis-cli ping || exit 1
@ -59,12 +59,8 @@ services:
- internal - internal
db: db:
image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:739cdd626151ff1f796dc95a6591b55a714f341c737e27f045019ceabf8e8c52 image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0
container_name: immich_db_pg14 container_name: immich_db_pg14
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"
]
restart: unless-stopped restart: unless-stopped
healthcheck: healthcheck:
test: [ CMD-SHELL, test: [ CMD-SHELL,
@ -85,6 +81,8 @@ services:
POSTGRES_USER_FILE: /run/secrets/db_user POSTGRES_USER_FILE: /run/secrets/db_user
POSTGRES_PASSWORD_FILE: /run/secrets/db_pass POSTGRES_PASSWORD_FILE: /run/secrets/db_pass
POSTGRES_INITDB_ARGS: '--data-checksums' POSTGRES_INITDB_ARGS: '--data-checksums'
# Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs
# DB_STORAGE_TYPE: 'HDD'
secrets: secrets:
- db_name - db_name
- db_user - db_user

View File

@ -11,11 +11,7 @@
"groupName": "immich" "groupName": "immich"
}, },
{ {
"matchPackageNames": "docker.io/redis", "matchPackageNames": "docker.io/valkey/valkey",
"enabled": false
},
{
"matchPackageNames": "tensorchord/pgvecto-rs",
"enabled": false "enabled": false
} }
] ]