From d4a246eb8effd4cf0d14b6ff423ed4a0f5ae038d Mon Sep 17 00:00:00 2001 From: Bobban Rydh Date: Tue, 2 Jun 2026 01:33:21 +0200 Subject: [PATCH] removed the health check metod --- docker-compose.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index ee018f1..8f564a0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: