14
app.json
Normal file
14
app.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"healthchecks": {
|
||||
"web": [
|
||||
{
|
||||
"type": "readiness",
|
||||
"name": "web check",
|
||||
"description": "Checking if the app responds to the /actuator/health/readiness endpoint",
|
||||
"path": "/actuator/health/readiness",
|
||||
"port": 8080,
|
||||
"attempts": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@@ -16,6 +16,12 @@ spring:
|
||||
application:
|
||||
name: timezone-service
|
||||
|
||||
management:
|
||||
endpoint:
|
||||
health:
|
||||
probes:
|
||||
enabled: true
|
||||
|
||||
eureka:
|
||||
client:
|
||||
register-with-eureka: true
|
||||
@@ -24,6 +30,7 @@ eureka:
|
||||
defaultZone: http://eureka-service.web:8761/eureka
|
||||
instance:
|
||||
instanceId: ${spring.application.name}:${spring.application.instance_id:${random.value}}
|
||||
|
||||
springdoc:
|
||||
swagger-ui:
|
||||
path: /swagger-ui.html
|
||||
|
Reference in New Issue
Block a user