services: collector: image: otel/opentelemetry-collector-contrib:0.160.0 command: ["--config=/etc/otelcol-contrib/config.yaml"] environment: CORRIDORA_OTLP_ENDPOINT: ${CORRIDORA_OTLP_ENDPOINT:?Set the Corridora ingest base URL} CORRIDORA_INGEST_KEY: ${CORRIDORA_INGEST_KEY:?Set an active ingest key} OTEL_COLLECTOR_BIND_HOST: 0.0.0.0 GOMEMLIMIT: 320MiB volumes: - ./collector.yaml:/etc/otelcol-contrib/config.yaml:ro ports: - "127.0.0.1:4317:4317" - "127.0.0.1:4318:4318" - "127.0.0.1:13133:13133" mem_limit: 512m stop_grace_period: 60s restart: unless-stopped