autocomit
This commit is contained in:
1 parent
bc5370d84d
commit
1b92b613d4
25 files changed
+1314
-15
No files matched your search
+5
-1
@@ -22,5 +22,9 @@ COPY --from=build /app/target/*.jar app.jar
|
||||
# Expose port
|
||||
EXPOSE 8080
|
||||
|
||||
# Health check
|
||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
|
||||
CMD wget --quiet --tries=1 --spider http://localhost:8080/api/actuator/health || exit 1
|
||||
|
||||
# Run the application
|
||||
ENTRYPOINT ["java", "-jar", "app.jar"]
|
||||
ENTRYPOINT ["java", "-jar", "app.jar"]
|
||||
Reference in new issue
Block a user