add readiness check for dokku

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2024-10-12 21:59:26 +02:00
parent 07d11d4330
commit 0d6333a069
2 changed files with 20 additions and 0 deletions

14
app.json Normal file
View 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
}
]
}
}

View File

@@ -10,6 +10,12 @@ logging:
com.netflix.eureka: OFF
com.netflix.discovery: OFF
management:
endpoint:
health:
probes:
enabled: true
sentry:
dsn: https://354321d371291036cffcdb5b1a72fd6e@o394865.ingest.us.sentry.io/4507718826262528
environment: eureka-service