Last active
February 20, 2022 17:32
-
-
Save TonPC64/28a4bbab6c866ada48753160cdaafc25 to your computer and use it in GitHub Desktop.
example docker compose file for distributed tracing
This file contains 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.9" | |
services: | |
zookeeper: | |
image: 'bitnami/zookeeper:latest' | |
ports: | |
- '2181:2181' | |
environment: | |
- ALLOW_ANONYMOUS_LOGIN=yes | |
kafka: | |
image: 'bitnami/kafka:latest' | |
ports: | |
- '9092:9092' | |
environment: | |
- KAFKA_BROKER_ID=1 | |
- KAFKA_CFG_LISTENERS=PLAINTEXT://:9092 | |
- KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://host.docker.internal:9092 | |
- KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper:2181 | |
- KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE=true | |
- ALLOW_PLAINTEXT_LISTENER=yes | |
depends_on: | |
- zookeeper | |
zipkin: | |
image: openzipkin/zipkin:2.23 | |
ports: | |
- 9090:9411 | |
jaeger: | |
image: jaegertracing/all-in-one:1.31 | |
environment: | |
- JAEGER_AGENT_HOST=jaeger | |
ports: | |
- 9091:16686 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment