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: