-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Expand file tree
/
Copy pathdocker-compose-kafka.yml
More file actions
32 lines (28 loc) · 940 Bytes
/
docker-compose-kafka.yml
File metadata and controls
32 lines (28 loc) · 940 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#
# Copyright The OpenZipkin Authors
# SPDX-License-Identifier: Apache-2.0
#
# It extends the default configuration from docker-compose.yml to add a test
# kafka server, which is used as a span transport.
services:
kafka:
image: ghcr.io/openzipkin/zipkin-kafka:${TAG:-latest}
container_name: kafka
# If using docker machine, uncomment the below and set your bootstrap
# server list to 192.168.99.100:19092
# environment:
# - KAFKA_ADVERTISED_HOST_NAME=192.168.99.100
ports:
# Processes on the Docker host can set bootstrap server list to localhost:19092
- 19092:19092
zipkin:
extends:
file: docker-compose.yml
service: zipkin
# slim doesn't include Kafka support, so switch to the larger image
image: ghcr.io/openzipkin/zipkin:${TAG:-latest}
environment:
- KAFKA_BOOTSTRAP_SERVERS=kafka:9092
depends_on:
kafka:
condition: service_healthy