Skip to content

Commit

Permalink
fix health check
Browse files Browse the repository at this point in the history
  • Loading branch information
centralhardware committed Oct 4, 2024
1 parent bae9625 commit e3aee8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ WORKDIR /znatokiBot
COPY --from=gradle /home/gradle/build/libs/letMeGoogleThatForYou-1.0-SNAPSHOT-standalone.jar .

HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 \
CMD curl --fail http://localhost:8080/health || exit 1
CMD curl --fail http://localhost:80/health || exit 1

CMD ["java", "-jar", "letMeGoogleThatForYou-1.0-SNAPSHOT-standalone.jar" ]

0 comments on commit e3aee8d

Please sign in to comment.