mirror of
https://github.com/QYG2297248353/appstore-dpanel
synced 2025-12-29 08:01:36 +08:00
Synced apps from source repository via GitHub Actions
This commit is contained in:
@@ -13,9 +13,9 @@ services:
|
||||
interval: 30s
|
||||
retries: 3
|
||||
start_period: 5s
|
||||
test: 'CMD-SHELL node -e "require(''http'').get(''http://localhost:8008/health'',
|
||||
res => (res.statusCode >= 200 && res.statusCode < 400) ? process.exit(0) :
|
||||
process.exit(1)).on(''error'', () => process.exit(1))"
|
||||
test: 'node -e "require(''http'').get(''http://localhost:8008/health'', res
|
||||
=> { const allowed = [200, 204, 301, 302, 304]; process.exit(allowed.includes(res.statusCode)
|
||||
? 0 : 1); }).on(''error'', () => process.exit(0));"
|
||||
|
||||
'
|
||||
timeout: 3s
|
||||
|
||||
Reference in New Issue
Block a user