-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
43 lines (40 loc) · 1 KB
/
docker-compose.yml
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
33
34
35
36
37
38
39
40
41
42
43
version: '2'
services:
zipkin-demo-app:
image: barrycommins/zipkindemoapp
ports:
- "8080:8080"
environment:
- SPRING_PROFILES_ACTIVE=docker
- DOCKER_HOST_IP=$DOCKER_HOST_IP
zipkin-server:
image: barrycommins/zipkinserver
ports:
- "9411:9411"
depends_on :
- cassandra
environment:
- SPRING_PROFILES_ACTIVE=docker,cassandra
- DOCKER_HOST_IP=$DOCKER_HOST_IP
- ZIPKIN_STORAGE_CASSANDRA3_CONTACT_POINTS=cassandra
zookeeper:
image: confluentinc/cp-zookeeper:3.0.1
ports:
- "2181:2181"
environment:
- ZOOKEEPER_CLIENT_PORT=2181
kafka:
image: confluentinc/cp-kafka:3.0.1
links:
- zookeeper
ports:
- "9092:9092"
environment:
- KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
- KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://$DOCKER_HOST_IP:9092
- KAFKA_ADVERTISED_HOST_NAME=$DOCKER_HOST_IP
- KAFKA_CREATE_TOPICS="sleuth:1:1"
cassandra:
image: cassandra
ports:
- "9042:9042"