version: "3.8"
services:

  # Collector
  otel-collector:
    image: otel/opentelemetry-collector-contrib:0.42.0
    command: ["--config=/conf/collector-config.yaml"]
    volumes:
      - ./collector-config.yaml:/conf/collector-config.yaml
    ports:
      - "9464:9464"
      - "4317:4317"
      - "4318:4318"
    depends_on:
      - jaeger-all-in-one

  # Jaeger
  jaeger-all-in-one:
    image: jaegertracing/all-in-one:1.30.0
    ports:
      - "16686:16686"
      - "14268:14268"
      - "14250"


