From ed6f09decebc868d54339029b7a218ef62051cef Mon Sep 17 00:00:00 2001 From: vindard <17693119+vindard@users.noreply.github.com> Date: Fri, 9 Feb 2024 14:15:34 -0400 Subject: [PATCH] build: add price-history-pg healthcheck --- dev/docker-compose.deps.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev/docker-compose.deps.yml b/dev/docker-compose.deps.yml index 6c6866fe82..728adb9aad 100644 --- a/dev/docker-compose.deps.yml +++ b/dev/docker-compose.deps.yml @@ -44,6 +44,11 @@ services: - POSTGRES_USER=galoy-price-usr - POSTGRES_PASSWORD=galoy-price-pwd - POSTGRES_DB=galoy-price-history + healthcheck: + test: ["CMD-SHELL", "pg_isready"] + interval: 5s + timeout: 30s + retries: 5 api-keys-pg: image: postgres:14.1 environment: