Update healthcheck command and start period
This commit is contained in:
1 parent
578c746771
commit
6630aedc75
1 file changed
+2
-6
+2
-6
@@ -5,12 +5,8 @@ services:
|
|||||||
- "${PORT:-3000}:80"
|
- "${PORT:-3000}:80"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test:
|
test: ["CMD", "curl", "-f", "http://localhost:3001/health"]
|
||||||
- CMD
|
|
||||||
- wget
|
|
||||||
- '-qO-'
|
|
||||||
- 'http://127.0.0.1:3000/'
|
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
start_period: 10s
|
start_period: 15s
|
||||||
Reference in new issue
Block a user