removed the health check metod

This commit is contained in:
2026-06-02 01:33:21 +02:00
parent 770fb6e32a
commit d4a246eb8e
+1 -8
View File
@@ -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: