services: # Collector collector: image: otel/opentelemetry-collector-contrib:latest command: ["--config=/conf/collector-config.yaml"] volumes: - ./collector-config.yaml:/conf/collector-config.yaml ports: - "9464:9464" - "4317:4317" - "4318:4318" depends_on: - zipkin-all-in-one # Zipkin zipkin-all-in-one: image: openzipkin/zipkin:latest ports: - "9411:9411" # Prometheus prometheus: container_name: prometheus image: prom/prometheus:latest volumes: - ./prometheus.yaml:/etc/prometheus/prometheus.yml ports: - "9090:9090"