autocomit

This commit is contained in:
2026-02-07 20:14:12 +01:00
parent bc5370d84d
commit 1b92b613d4
25 changed files with 1314 additions and 15 deletions
+5 -1
View File
@@ -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"]
+4 -1
View File
@@ -54,7 +54,10 @@
<artifactId>postgresql</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<!-- Liquibase -->
<dependency>
<groupId>org.liquibase</groupId>
@@ -43,3 +43,12 @@ logging:
level:
com.ldpv2: DEBUG
org.springframework.security: DEBUG
management:
endpoints:
web:
exposure:
include: health
endpoint:
health:
show-details: when-authorized