Skip to content

Apigateway + health checks #82

@jaredmcgrath

Description

@jaredmcgrath
  • configure the health check for each service
    • exemptions: scv2_webgui, scv2_services_processing (legacy, deprecated)
  • apigateway must depend on each health-check service being healthy

Example of what a healthcheck will look like within the docker-compose.yml for a given service:

    healthcheck:
      test: ["CMD-SHELL","curl -fsS http://localhost:8080/health || exit 1"]
      interval: 10s
      timeout: 2s
      retries: 3
      start_period: 10s

Example of how the apigateway depends_on will look:

depends_on:
      service1:
        condition: service_healthy
      service2:
        condition: service_healthy
      service3:
        condition: service_healthy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions