feat(api): add healthcheck endpoint for monitoring health from Docker/Podman (#2024)

This commit is contained in:
David Long
2025-12-30 13:54:30 -05:00
committed by GitHub
parent 1b27ca3028
commit 8580670b6e
5 changed files with 42 additions and 1 deletions

View File

@@ -26,6 +26,12 @@ services:
- ./data:/app/data # Application data (settings, metadata, cache, etc.). Persist this folder to retain your library state across container restarts.
- ./books:/books # Primary book library folder. Mount your collection here so BookLore can access and organize your books.
- ./bookdrop:/bookdrop # BookDrop folder. Files placed here are automatically detected and prepared for import.
healthcheck:
test: wget -q -O - http://localhost:6060/api/v1/healthcheck
interval: 60s
retries: 5
start_period: 60s
timeout: 10s
restart: unless-stopped
mariadb: