diff --git a/infra/compose/dapr.yml b/infra/compose/dapr.yml index b148642..0720d04 100644 --- a/infra/compose/dapr.yml +++ b/infra/compose/dapr.yml @@ -6,12 +6,6 @@ services: networks: - app-shared-net command: ["./placement", "--port", "50005"] - healthcheck: - test: ['CMD-SHELL', 'wget --spider http://localhost:50005/healthz || exit 1'] - interval: 15s - timeout: 5s - retries: 3 - start_period: 10s networks: app-shared-net: diff --git a/infra/compose/nats.yml b/infra/compose/nats.yml index 18da71f..7eb98d5 100644 --- a/infra/compose/nats.yml +++ b/infra/compose/nats.yml @@ -16,12 +16,6 @@ services: - '/data' volumes: - nats_data:/data - healthcheck: - test: ['CMD-SHELL', 'wget --spider http://localhost:8222/healthz || exit 1'] - interval: 15s - timeout: 5s - retries: 3 - start_period: 10s volumes: nats_data: diff --git a/infra/compose/scraper.yml b/infra/compose/scraper.yml index 7adfa1e..3547f35 100644 --- a/infra/compose/scraper.yml +++ b/infra/compose/scraper.yml @@ -4,10 +4,10 @@ services: image: ghcr.io/asepharyana/asepharyana-hub/scraper-api:sha-c4ecf8f restart: always depends_on: - dapr-placement: - condition: service_healthy nats: - condition: service_healthy + condition: service_started + dapr-placement: + condition: service_started networks: app-shared-net: aliases: @@ -31,10 +31,10 @@ services: image: daprio/daprd:latest restart: always depends_on: - dapr-placement: - condition: service_healthy nats: - condition: service_healthy + condition: service_started + dapr-placement: + condition: service_started networks: - app-shared-net command: