[Komodo] admin: Write Stack File: update compose.yaml

This commit is contained in:
komodo 2026-02-06 09:41:07 +01:00
parent ab2e899e54
commit 9578ab9d97

View file

@ -17,25 +17,13 @@ services:
database:
container_name: immich_postgres
image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0
restart: always
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
environment:
POSTGRES_DB: immich
POSTGRES_INITDB_ARGS: --data-checksums
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
healthcheck:
test: ["CMD-SHELL", "pg_isready --dbname=immich --username=postgres || exit 1"]
interval: 5m
start_interval: 30s
start_period: 5m
volumes:
- /app-config/database:/var/lib/postgresql/data
networks: