# permit depends_on/condition: service_healthy version: "2.4" # BRAVE_EXAMPLE choices are listed here https://github.com/openzipkin/brave-example#example-projects services: # Generate traffic by hitting http://localhost:8081 frontend: container_name: frontend image: ghcr.io/openzipkin/brave-example:${BRAVE_EXAMPLE:-armeria} entrypoint: start-frontend ports: - 8081:8081 depends_on: backend: condition: service_healthy zipkin: condition: service_healthy # Serves the /api endpoint the frontend uses backend: container_name: backend image: ghcr.io/openzipkin/brave-example:${BRAVE_EXAMPLE:-armeria} entrypoint: start-backend depends_on: zipkin: condition: service_healthy # View traces at http://127.0.0.1:9411/zipkin zipkin: image: ghcr.io/openzipkin/zipkin-slim container_name: zipkin ports: - 9411:9411