docker-compose.yml
1 services: 2 otlp-collector: 3 image: otel/opentelemetry-collector-contrib:latest 4 volumes: 5 - "./otlp-collector.yml:/etc/otlp-collector.yml" 6 command: ["--config", "/etc/otlp-collector.yml"] 7 ports: 8 - "4318:4318" 9 - "8889:8889"