fix(runtime): widen backend container healthcheck window

This commit is contained in:
wowo-zZ 2026-04-12 15:10:54 +08:00
parent 29ab31d912
commit 0e4bc3b766

View file

@ -13,7 +13,7 @@ RUN chown -R app:app /app
USER app
EXPOSE 8080
HEALTHCHECK --interval=10s --timeout=3s \
HEALTHCHECK --interval=10s --timeout=3s --start-period=60s --retries=12 \
CMD wget -qO- http://localhost:8080/actuator/health || exit 1
ENTRYPOINT ["java", "-XX:MaxRAMPercentage=75.0", "-jar", "app.jar"]