From 08612fb9b6df05011d06f296a975f0375db6bcbc Mon Sep 17 00:00:00 2001 From: Roland Date: Sun, 3 May 2026 12:09:12 -0600 Subject: [PATCH] Checking if postgres is ready faster to speed up docker container startup. --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index ee2bddfd..a0927dcc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,6 +11,8 @@ services: healthcheck: test: [ 'CMD-SHELL', 'pg_isready -U postgres' ] interval: 10s + start_period: 30s + start_interval: 1s volumes: - ./pg_data:/var/lib/postgresql/data