Compare commits

2 Commits

2 changed files with 5 additions and 21 deletions

View File

@ -2,7 +2,7 @@ name: immich
services:
server:
image: ghcr.io/immich-app/immich-server:v1.132.3
image: ghcr.io/immich-app/immich-server:v1.133.0
container_name: immich_server
# extends:
# file: hwaccel.transcoding.yml
@ -36,7 +36,7 @@ services:
machine-learning:
# For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag.
# 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.0
container_name: immich_machine_learning
# extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration
# file: hwaccel.ml.yml
@ -59,23 +59,9 @@ services:
- internal
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
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
healthcheck:
test: [ CMD-SHELL,
"pg_isready -d `cat $$POSTGRES_DB_FILE` -U `cat $$POSTGRES_USER_FILE` || exit 1;",
"Chksum=$$(psql -d `cat $$POSTGRES_DB_FILE` -U `cat $$POSTGRES_USER_FILE` --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
volumes:
- db:/var/lib/postgresql/data
networks:
@ -85,6 +71,8 @@ services:
POSTGRES_USER_FILE: /run/secrets/db_user
POSTGRES_PASSWORD_FILE: /run/secrets/db_pass
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:
- db_name
- db_user

View File

@ -13,10 +13,6 @@
{
"matchPackageNames": "docker.io/redis",
"enabled": false
},
{
"matchPackageNames": "tensorchord/pgvecto-rs",
"enabled": false
}
]