From 595ebd0a4b7175213cbd7852a2065f1d766c1683 Mon Sep 17 00:00:00 2001 From: Eric Andrews Date: Wed, 30 Aug 2023 11:05:57 +0300 Subject: [PATCH] try different IPFS healthcheck --- docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 0433561..5ce9cf5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -453,9 +453,9 @@ services: environment: IPFS_PROFILE: server # sets the server profile healthcheck: - test: ["CMD", "ipfs", "id"] - interval: 5s - timeout: 10s + test: ["CMD-SHELL", "ipfs --api=/ip4/127.0.0.1/tcp/5001 dag stat /ipfs/QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn || exit 1"] # from official image + interval: 10s + timeout: 3s retries: 10 dev-chain-fast: container_name: streamr-dev-chain-fast