This repository has been archived by the owner on Oct 23, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #105 from openzipkin/fix-kafka
Adds KAFKA_ADVERTISED_HOST_NAME and example kafka file
- Loading branch information
Showing
4 changed files
with
46 additions
and
3 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# This file uses the version 2 docker-compose file format, described here: | ||
# https://docs.docker.com/compose/compose-file/#version-2 | ||
# | ||
# It extends the default configuration from docker-compose.yml to run the | ||
# zipkin-mysql container instead of the zipkin-cassandra container. | ||
|
||
version: '2' | ||
|
||
services: | ||
kafka-zookeeper: | ||
build: kafka | ||
image: openzipkin/zipkin-kafka:1.4.3 | ||
container_name: kafka-zookeeper | ||
environment: | ||
# corresponds to your docker machine and your producer's broker list | ||
- KAFKA_ADVERTISED_HOST_NAME=192.168.99.100 | ||
ports: | ||
- 2181:2181 | ||
- 9092:9092 | ||
|
||
zipkin: | ||
environment: | ||
- KAFKA_ZOOKEEPER=kafka-zookeeper | ||
depends_on: | ||
- kafka-zookeeper |
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
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