1
0
mirror of https://github.com/grafana/tempo.git synced 2025-03-15 15:18:31 +00:00
tempo/example/docker-compose/scalable-single-binary/docker-compose.yaml

93 lines
2.2 KiB
YAML

version: "3"
services:
tempo1:
image: grafana/tempo:latest
command: "-target=scalable-single-binary -config.file=/etc/tempo.yaml"
volumes:
- ./tempo-scalable-single-binary.yaml:/etc/tempo.yaml
restart: always
networks:
default:
aliases:
- tempo
depends_on:
- minio
ports:
- 3200:3200
tempo2:
image: grafana/tempo:latest
command: "-target=scalable-single-binary -config.file=/etc/tempo.yaml"
volumes:
- ./tempo-scalable-single-binary.yaml:/etc/tempo.yaml
restart: always
networks:
default:
aliases:
- tempo
depends_on:
- minio
tempo3:
image: grafana/tempo:latest
command: "-target=scalable-single-binary -config.file=/etc/tempo.yaml"
volumes:
- ./tempo-scalable-single-binary.yaml:/etc/tempo.yaml
restart: always
networks:
default:
aliases:
- tempo
depends_on:
- minio
vulture:
image: grafana/tempo-vulture:latest
command:
- "-prometheus-listen-address=:3201"
- "-tempo-push-url=http://tempo1"
- "-tempo-query-url=http://tempo1:3200"
- "-tempo-retention-duration=1h"
prometheus:
image: prom/prometheus:latest
command:
- --config.file=/etc/prometheus.yaml
- --web.enable-remote-write-receiver
- --enable-feature=exemplar-storage
volumes:
- ./prometheus.yaml:/etc/prometheus.yaml
grafana:
image: grafana/grafana:9.4.3
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
- GF_FEATURE_TOGGLES_ENABLE=traceqlEditor
ports:
- 3000:3000
minio:
image: minio/minio:latest
environment:
- MINIO_ACCESS_KEY=tempo
- MINIO_SECRET_KEY=supersecret
entrypoint:
- sh
- -euc
- mkdir -p /data/tempo && /opt/bin/minio server /data --console-address ':9001'
ports:
- 9001:9001
k6-tracing:
image: ghcr.io/grafana/xk6-client-tracing:v0.0.2
environment:
- ENDPOINT=tempo1:4317
restart: always
depends_on:
- tempo1