All checks were successful
Daily cloudflare API integration test / cloudflare-api-test (push) Successful in 1m48s
sample gradle build and test / build (pull_request) Successful in 2m7s
Build & Push CFTunnels / version (push) Successful in 6s
Build & Push Portainer Automation / version (push) Successful in 6s
Build & Push CFTunnels / build-and-push (push) Successful in 3m45s
Build & Push Portainer Automation / build-and-push (push) Successful in 2m2s
- Add spring-boot-starter-actuator dependency - Configure management port (8081) separate from application port (8080) - Expose /actuator/health and /actuator/info endpoints publicly - Block other actuator endpoints without authentication - Add ActuatorSecurityConfig for actuator-specific security rules - Update Docker Compose to expose management port (5003:8081) - Update Dockerfile to expose ports 8080 and 8081 - Add actuator configuration to all profile-specific properties files
14 lines
411 B
Docker
14 lines
411 B
Docker
FROM openjdk:17-jdk as build
|
|
WORKDIR /app
|
|
COPY gradlew settings.gradle build.gradle ./
|
|
COPY gradle ./gradle
|
|
COPY common ./common
|
|
COPY cftunnels-service ./cftunnels-service
|
|
COPY portainer-automation ./portainer-automation
|
|
RUN ./gradlew :cftunnels-service:bootJar
|
|
|
|
FROM openjdk:17-jdk-slim
|
|
COPY --from=build /app/cftunnels-service/build/libs/*.jar app.jar
|
|
EXPOSE 8080 8081
|
|
ENTRYPOINT ["java", "-jar", "/app.jar"]
|