add healthcheck to dockerfile
All checks were successful
Github Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
All checks were successful
Github Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
This commit is contained in:
parent
2846885c7c
commit
a2539e2bb0
|
@ -20,3 +20,7 @@ COPY --from=builder /ipfs /bin/ipfs
|
|||
COPY --from=builder /ipfswatch /bin/ipfswatch
|
||||
|
||||
CMD ["ipfs"]
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
||||
CMD ipfs --api=/ip4/127.0.0.1/tcp/5001 dag stat /ipfs/QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn || exit 1
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user