Skip to content

Commit

Permalink
better actuators
Browse files Browse the repository at this point in the history
  • Loading branch information
bhuism committed Jan 20, 2025
1 parent 2e256ae commit 6adfa2c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
8 changes: 0 additions & 8 deletions src/main/resources/application-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,3 @@ logging:
spring:
application:
name: Pseudoniemen Service
management:
endpoint:
info:
access: read_only
health:
access: read_only
probes:
enabled: true
19 changes: 16 additions & 3 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,22 @@ spring:
time-zone: Europe/Amsterdam

management:
server:
port: 9080
endpoints:
info:
access: read_only
health:
access: read_only
probes:
enabled: true
web:
base-path: /manage
exposure:
include: 'health, info'
include:
- health
- info
server:
port: 9080
ssl:
enabled: false
add-application-context-header: true

0 comments on commit 6adfa2c

Please sign in to comment.