We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c6c147 commit 528eb5dCopy full SHA for 528eb5d
docker-compose.base.yml
@@ -431,9 +431,10 @@ services:
431
image: otel/opentelemetry-collector-contrib:latest
432
container_name: otel-collector-local
433
command: [--config=/etc/otel-collector-config.yaml]
434
- user: '0:0'
+ user: '0:0' # have to run as root to read the docker logs
435
volumes:
436
- ./otel-collector-config.dev.yaml:/etc/otel-collector-config.yaml
437
+ # mount docker containers dir so we can ship the docker logs to local posthog
438
- /var/lib/docker/containers:/var/lib/docker/containers:ro
439
ports:
440
- '4317:4317' # OTLP gRPC receiver (mapped to host)
0 commit comments