removed the health check metod
This commit is contained in:
+1
-8
@@ -9,12 +9,6 @@ services:
|
|||||||
- ./sloth-data:/data
|
- ./sloth-data:/data
|
||||||
networks:
|
networks:
|
||||||
- sloth-net
|
- 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:
|
frontend:
|
||||||
build: ./frontend
|
build: ./frontend
|
||||||
@@ -25,8 +19,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- sloth-net
|
- sloth-net
|
||||||
depends_on:
|
depends_on:
|
||||||
backend:
|
- backend
|
||||||
condition: service_healthy
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
sloth-net:
|
sloth-net:
|
||||||
|
|||||||
Reference in New Issue
Block a user