feat(docker): add healthcheck to hub docker-compose example (#2001)

This commit is contained in:
Iriome Santana
2026-05-20 01:13:29 +01:00
committed by GitHub
parent c1c1cd1bcb
commit 0e65a2373f
2 changed files with 12 additions and 0 deletions

View File

@@ -7,3 +7,9 @@ services:
- '8090:8090'
volumes:
- ./beszel_data:/beszel_data
healthcheck:
test: ["CMD", "/beszel", "health", "--url", "http://127.0.0.1:8090"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s