fix(script): update install.sh

This commit is contained in:
Ran
2026-02-25 16:16:18 +08:00
parent d92993e56e
commit 2b75d955e3
2 changed files with 6 additions and 4 deletions
+3 -1
View File
@@ -149,6 +149,8 @@ VOLUME ["/var/lib/containerd", "/opt/memoh/data"]
EXPOSE 8080
HEALTHCHECK --interval=30s --timeout=3s --start-period=30s --retries=3 \
CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:8080/health || exit 1
CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:8080/health \
|| wget --no-verbose --tries=1 --spider http://server:8080/health \
|| exit 1
ENTRYPOINT ["/entrypoint.sh"]