diff --git a/postgres_15/Dockerfile b/postgres_15/Dockerfile index fe0e2b714..3a8601ec4 100644 --- a/postgres_15/Dockerfile +++ b/postgres_15/Dockerfile @@ -121,4 +121,4 @@ HEALTHCHECK \ --retries=5 \ --start-period=90s \ --timeout=25s \ - CMD pg_isready -d postgres || exit 1 + CMD pg_isready --dbname="${POSTGRES_DB}" --username="${POSTGRES_USER}" || exit 1