-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
docker-compose.yml
62 lines (57 loc) · 1.29 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: '3.0'
services:
spotify-kafka:
image: 'spotify/kafka'
container_name: 'spotify-kafka'
ports:
- '2181:2181'
- '9092:9092'
environment:
- ADVERTISED_HOST=localhost
- ADVERTISED_PORT=9092
#
# Use the below to orchestrate Kafka, Zookeeper, kafka-simulate and KafkaMirror
# version: '3.0'
# # networks:
# # kafka-net:
# # driver: bridge
# # ipam:
# # driver: default
# # config:
# # - subnet: 172.16.0.0/24
# services:
# spotify-kafka:
# image: 'spotify/kafka'
# container_name: 'spotify-kafka'
# ports:
# - '2181:2181'
# - '9092:9092'
# environment:
# # - ADVERTISED_HOST=172.16.0.12
# - ADVERTISED_HOST=localhost
# - ADVERTISED_PORT=9092
# networks:
# kafka-net:
# ipv4_address: 172.16.0.12
# kafka-simulator:
# image: 'kafkamirror/kafka-simulator'
# container_name: 'kafka-simulator'
# networks:
# kafka-net:
# ipv4_address: 172.16.0.14
# ports:
# - '3001:3001'
# - '3030:3030'
# depends_on:
# - spotify-kafka
# kafkamirror:
# image: 'kafkamirror/kafkamirror'
# container_name: 'kafkamirror'
# ports:
# - '3000:3000'
# - '8080:8080'
# depends_on:
# - kafka-simulator
# networks:
# kafka-net:
# ipv4_address: 172.16.0.13