forked from Hithomelabs/CFTunnels
- 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
17 lines
611 B
Properties
17 lines
611 B
Properties
api.baseUrl=https://testcf.hithomelabs.com
|
|
|
|
# Test Database Configuration - Same as Production
|
|
spring.datasource.url=jdbc:postgresql://postgres:5432/cftunnel
|
|
spring.datasource.username=${POSTGRES_USERNAME}
|
|
spring.datasource.password=${POSTGRES_PASSWORD}
|
|
spring.datasource.driver-class-name=org.postgresql.Driver
|
|
|
|
# JPA Configuration
|
|
spring.jpa.hibernate.ddl-auto=update
|
|
spring.jpa.show-sql=true
|
|
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
|
|
|
|
# Actuator configuration
|
|
management.endpoints.web.exposure.include=health,info
|
|
management.endpoint.health.show-details=when-authorized
|