Added a health test for cloudreve

This commit is contained in:
Shaun Collins
2026-03-13 14:09:38 +00:00
committed by shaun collins
parent aa064c3dbc
commit 20dcdfdb30
+1 -1
View File
@@ -22,7 +22,7 @@ services:
volumes: volumes:
- "${DATA_PATH}:/cloudreve/data" - "${DATA_PATH}:/cloudreve/data"
healthcheck: healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5212/api/v3/site/ping"] test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5212/api/v4/site/ping"]
interval: 30s interval: 30s
timeout: 5s timeout: 5s
start_period: 40s start_period: 40s