Skip to content

Commit aa325fb

Browse files
committed
feat(immich): Update to Immich 2
1 parent e940db7 commit aa325fb

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

immich/docker-compose.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
immich-server:
33
container_name: immich_server
4-
image: ghcr.io/immich-app/immich-server:v1.138.0
4+
image: ghcr.io/immich-app/immich-server:release
55
environment:
66
DB_HOSTNAME: immich_postgres
77
DB_PASSWORD: ${IMMICH_DB_PASSWORD}
@@ -37,7 +37,7 @@ services:
3737

3838
immich-machine-learning:
3939
container_name: immich_machine_learning
40-
image: ghcr.io/immich-app/immich-machine-learning:v1.138.0
40+
image: ghcr.io/immich-app/immich-machine-learning:release
4141
volumes:
4242
- immich-model-cache:/cache
4343
restart: always
@@ -55,23 +55,16 @@ services:
5555

5656
immich-database:
5757
container_name: immich_postgres
58-
image: ghcr.io/tensorchord/pgvecto-rs:pg14-v0.2.0
58+
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:41eacbe83eca995561fe43814fd4891e16e39632806253848efaf04d3c8a8b84
5959
environment:
6060
POSTGRES_PASSWORD: ${IMMICH_DB_PASSWORD}
6161
POSTGRES_USER: postgres
6262
POSTGRES_DB: immich
6363
POSTGRES_INITDB_ARGS: "--data-checksums"
6464
volumes:
6565
- ${CONFIG_ROOT:-.}/immich/postgresql:/var/lib/postgresql/data
66+
shm_size: 128mb
6667
restart: always
67-
healthcheck:
68-
test: >-
69-
pg_isready --dbname=immich --username=postgres || exit 1; Chksum="$$(psql --dbname=immich --username=postgres --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
70-
interval: 5m
71-
start_interval: 1m
72-
start_period: 5m
73-
command: >-
74-
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
7568
profiles:
7669
- immich
7770

0 commit comments

Comments
 (0)