diff --git a/docker-compose.yml b/docker-compose.yml index 8b5cdb2..c7c2326 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,10 +9,11 @@ services: volumes: - postgres_data:/var/lib/postgresql/data healthcheck: - test: ["CMD-SHELL", "pg_isready -U grow"] + test: ["CMD", "pg_isready", "-U", "grow", "-d", "grow", "-h", "127.0.0.1"] interval: 5s timeout: 5s - retries: 10 + retries: 20 + start_period: 15s app: build: .