From 3c7189c6572c7f49ae32ed06014540d374094ac6 Mon Sep 17 00:00:00 2001 From: Orion Kindel Date: Thu, 20 Jul 2023 13:13:02 -0500 Subject: [PATCH] fix: gen-migrations --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 847e763..b5a0b8e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,7 @@ services: volumes: ['/var/run/postgresql:/var/run/postgresql'] command: '-p 5432' healthcheck: - test: [ "CMD-SHELL", "pg_isready" ] + test: [ "CMD-SHELL", "pg_isready -U postgres" ] interval: 1s timeout: 1s retries: 30 @@ -22,7 +22,7 @@ services: volumes: ['/var/run/postgresql:/var/run/postgresql'] command: '-p 5433' healthcheck: - test: [ "CMD-SHELL", "pg_isready -p 5433" ] + test: [ "CMD-SHELL", "pg_isready -U postgres -p 5433" ] interval: 1s timeout: 1s retries: 30