Last active
August 2, 2022 10:22
-
-
Save ghostflare76/7afe6555c846dfdb54ef9aeeb00bad3f to your computer and use it in GitHub Desktop.
otel-docker-compose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
tempo: | |
image: grafana/tempo:latest | |
command: [ "-config.file=/etc/tempo.yaml" ] | |
volumes: | |
- ./tempo-s3.yaml:/etc/tempo.yaml | |
- ./tempo-data:/tmp/tempo | |
ports: | |
- "3200:3200" # tempo | |
restart: on-failure | |
depends_on: | |
- minio | |
- otel-collector | |
minio: | |
image: minio/minio:latest | |
environment: | |
- MINIO_ACCESS_KEY=tempo | |
- MINIO_SECRET_KEY=supersecret | |
ports: | |
- "9001:9001" | |
entrypoint: | |
- sh | |
- -euc | |
- mkdir -p /data/tempo && /opt/bin/minio server /data --console-address ':9001' | |
otel-collector: | |
image: otel/opentelemetry-collector:0.32.0 | |
command: ["--config=/etc/otel-collector.yaml"] | |
volumes: | |
- ./otel-collector.yaml:/etc/otel-collector.yaml | |
ports: | |
- "1888:1888" # pprof extension | |
- "8888:8888" # Prometheus metrics exposed by the collector | |
- "8889:8889" # Prometheus exporter metrics | |
- "13133:13133" # health_check extension | |
- "55679:55679" # zpages extension | |
synthetic-load-generator: | |
image: omnition/synthetic-load-generator:1.0.25 | |
volumes: | |
- ./load-generator.json:/etc/load-generator.json | |
environment: | |
- TOPOLOGY_FILE=/etc/load-generator.json | |
- JAEGER_COLLECTOR_URL=http://otel-collector:14268 | |
prometheus: | |
image: prom/prometheus:latest | |
command: [ "--config.file=/etc/prometheus.yaml" ] | |
volumes: | |
- ./prometheus.yaml:/etc/prometheus.yaml | |
ports: | |
- "9090:9090" | |
grafana: | |
image: grafana/grafana:8.1.6 | |
volumes: | |
- ./grafana-datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml | |
environment: | |
- GF_AUTH_ANONYMOUS_ENABLED=true | |
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin | |
- GF_AUTH_DISABLE_LOGIN_FORM=true | |
ports: | |
- "3000:3000" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment