add readiness check for dokku
Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
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": 8761,
|
||||||
|
"attempts": 3
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
@@ -10,6 +10,12 @@ logging:
|
|||||||
com.netflix.eureka: OFF
|
com.netflix.eureka: OFF
|
||||||
com.netflix.discovery: OFF
|
com.netflix.discovery: OFF
|
||||||
|
|
||||||
|
management:
|
||||||
|
endpoint:
|
||||||
|
health:
|
||||||
|
probes:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
sentry:
|
sentry:
|
||||||
dsn: https://354321d371291036cffcdb5b1a72fd6e@o394865.ingest.us.sentry.io/4507718826262528
|
dsn: https://354321d371291036cffcdb5b1a72fd6e@o394865.ingest.us.sentry.io/4507718826262528
|
||||||
environment: eureka-service
|
environment: eureka-service
|
||||||
|
Reference in New Issue
Block a user