feat: add healh-check like endpoint, support of healthcheck in docker compose

This commit is contained in:
2023-12-21 17:49:35 +02:00
parent cf9a1e7bec
commit f6cdd806b2
13 changed files with 193 additions and 4 deletions

View File

@ -25,6 +25,11 @@ services:
volume:
nocopy: true
healthcheck:
test: curl --fail --silent --output /dev/null http://backend:8080/api/v1/info
interval: 10s
start_period: 30s
command: web
frontend: