removed the health check metod
This commit is contained in:
+1
-8
@@ -9,12 +9,6 @@ services:
|
||||
- ./sloth-data:/data
|
||||
networks:
|
||||
- sloth-net
|
||||
healthcheck:
|
||||
test: ["CMD", "node", "-e", "require('http').get('http://localhost:3001/api/ping', r => process.exit(r.statusCode === 200 ? 0 : 1)).on('error', () => process.exit(1))"]
|
||||
interval: 15s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 10s
|
||||
|
||||
frontend:
|
||||
build: ./frontend
|
||||
@@ -25,8 +19,7 @@ services:
|
||||
networks:
|
||||
- sloth-net
|
||||
depends_on:
|
||||
backend:
|
||||
condition: service_healthy
|
||||
- backend
|
||||
|
||||
networks:
|
||||
sloth-net:
|
||||
|
||||
Reference in New Issue
Block a user