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"
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD
|
||||
- wget
|
||||
- '-qO-'
|
||||
- 'http://127.0.0.1:3000/'
|
||||
test: ["CMD", "curl", "-f", "http://localhost:3001/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
start_period: 15s
|
||||
Reference in new issue
Block a user