feat: add Docker healthcheck (#2279)

This commit is contained in:
fanyang authored and GitHub committed 2026-05-24 23:12:51 +08:00
1 parent bfa3383aaa
commit 00957e5f9d
1 file changed
+3
+3
View File
@@ -42,4 +42,7 @@ EXPOSE 11011/tcp
# wss
EXPOSE 11012/tcp
HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=5 \
CMD ["/usr/local/bin/easytier-cli", "--rpc-portal", "127.0.0.1:15888", "--output", "json", "node", "info"]
ENTRYPOINT ["/sbin/tini", "--", "easytier-core"]