From ae9376a06adda58d52078c7e451df4c40ec58039 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 6c6866fe82d..728adb9aad5 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: