Added a health test for cloudreve
This commit is contained in:
committed by
shaun collins
parent
aa064c3dbc
commit
20dcdfdb30
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user