pause healthcheck to update user and db name correctly later on

This commit is contained in:
v.karaychentsev
2026-02-10 20:14:39 +03:00
parent 27a9663f94
commit 632a2db4c1

View File

@@ -66,11 +66,11 @@ services:
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
POSTGRES_INITDB_ARGS: '--data-checksums'
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
interval: 30s
timeout: 10s
retries: 3
#healthcheck:
# test: [ "CMD-SHELL", "pg_isready -U ${DB_USERNAME} -d ${DB_DATABASE_NAME}" ]
# interval: 30s
# timeout: 10s
# retries: 3
image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0
networks:
- immich_internal