|
|
|
@ -2,7 +2,7 @@ name: immich
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
server:
|
|
|
|
|
image: ghcr.io/immich-app/immich-server:v1.133.0
|
|
|
|
|
image: ghcr.io/immich-app/immich-server:v1.133.1
|
|
|
|
|
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.133.0
|
|
|
|
|
image: ghcr.io/immich-app/immich-machine-learning:v1.133.1
|
|
|
|
|
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
|
|
|
|
@ -51,7 +51,7 @@ services:
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
healthcheck:
|
|
|
|
|
test: redis-cli ping || exit 1
|
|
|
|
@ -62,6 +62,16 @@ services:
|
|
|
|
|
image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0
|
|
|
|
|
container_name: immich_db_pg14
|
|
|
|
|
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:
|
|
|
|
|