diff --git a/docker-compose.yml b/docker-compose.yml index dab20b5..daa827c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,7 +23,7 @@ services: - pgdata:/var/lib/postgresql/data - ./docker/init-databases.sh:/docker-entrypoint-initdb.d/init-databases.sh:ro healthcheck: - test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-cameleer}"] + test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-cameleer} -d ${POSTGRES_DB:-cameleer_saas}"] interval: 5s timeout: 5s retries: 5