feat(deploy): add healthchecks to docker, docker compose, podman quadlet, and helm chart (#1137)

This commit is contained in:
Thibault Martin
2026-05-07 20:50:53 -04:00
committed by GitHub
parent d792d32806
commit c665359205
5 changed files with 38 additions and 10 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ Environment=TZ=Etc/UTC
Secret=grimmory_db_pass,type=env,target=DATABASE_PASSWORD
Environment=DATABASE_URL=jdbc:mariadb://localhost:3306/grimmory
Environment=DATABASE_USERNAME=grimmory
HealthCmd=wget -q -O - http://localhost:6060/api/v1/healthcheck
HealthCmd=CMD-SHELL wget -q --spider http://localhost:${BOOKLORE_PORT:-6060}/api/v1/healthcheck
HealthInterval=1m
HealthRetries=5
HealthStartPeriod=1m