Skip to content

Commit 43ae622

Browse files
authored
try different IPFS healthcheck (#216)
1 parent 02e1727 commit 43ae622

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -453,9 +453,9 @@ services:
453453
environment:
454454
IPFS_PROFILE: server # sets the server profile
455455
healthcheck:
456-
test: ["CMD", "ipfs", "id"]
457-
interval: 5s
458-
timeout: 10s
456+
test: ["CMD-SHELL", "ipfs --api=/ip4/127.0.0.1/tcp/5001 dag stat /ipfs/QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn || exit 1"] # from official image
457+
interval: 10s
458+
timeout: 3s
459459
retries: 10
460460
dev-chain-fast:
461461
container_name: streamr-dev-chain-fast

0 commit comments

Comments
 (0)