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:
|
application:
|
||||||
name: timezone-service
|
name: timezone-service
|
||||||
|
|
||||||
|
management:
|
||||||
|
endpoint:
|
||||||
|
health:
|
||||||
|
probes:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
eureka:
|
eureka:
|
||||||
client:
|
client:
|
||||||
register-with-eureka: true
|
register-with-eureka: true
|
||||||
@@ -24,6 +30,7 @@ eureka:
|
|||||||
defaultZone: http://eureka-service.web:8761/eureka
|
defaultZone: http://eureka-service.web:8761/eureka
|
||||||
instance:
|
instance:
|
||||||
instanceId: ${spring.application.name}:${spring.application.instance_id:${random.value}}
|
instanceId: ${spring.application.name}:${spring.application.instance_id:${random.value}}
|
||||||
|
|
||||||
springdoc:
|
springdoc:
|
||||||
swagger-ui:
|
swagger-ui:
|
||||||
path: /swagger-ui.html
|
path: /swagger-ui.html
|
||||||
|
Reference in New Issue
Block a user