From 3c8172cd59e2235efcdfc13c1a4fbc5b0d2015f1 Mon Sep 17 00:00:00 2001 From: Bradley Bickford Date: Wed, 24 Dec 2025 15:17:51 -0500 Subject: [PATCH] More Immich cleanup --- database-compose.yml | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/database-compose.yml b/database-compose.yml index 9795b7a..33c3d46 100644 --- a/database-compose.yml +++ b/database-compose.yml @@ -9,7 +9,6 @@ services: - "3306:3306" volumes: - "/mysql:/var/lib/mysql" - postgres: image: postgres:17 restart: always @@ -18,29 +17,3 @@ services: - "5432:5432" volumes: - "/postgres:/var/lib/postgresql/data" - postgres_immich: - image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0 - env_file: .postgres_immich.env - ports: - - "5433:5432" - volumes: - - "/postgres_immich:/var/lib/postgresql/data" - healthcheck: - test: >- - pg_isready --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" || exit 1; - Chksum="$$(psql --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_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 - restart: always