-
Notifications
You must be signed in to change notification settings - Fork 30
/
docker-compose.yml
42 lines (38 loc) · 1.03 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
version: '3.2'
services:
zookeeper:
image: wurstmeister/zookeeper
ports:
- "2181:2181"
kafka:
image: wurstmeister/kafka:2.13-2.8.1
hostname: kafka
depends_on:
- zookeeper
ports:
- "9092:9092"
environment:
KAFKA_LISTENERS: INTERNAL://0.0.0.0:9094,EXTERNAL://0.0.0.0:9092
KAFKA_ADVERTISED_LISTENERS: INTERNAL://kafka:9094,EXTERNAL://localhost:9092
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INTERNAL:PLAINTEXT,EXTERNAL:PLAINTEXT
KAFKA_INTER_BROKER_LISTENER_NAME: INTERNAL
KAFKA_CREATE_TOPICS: "test-0:1:1,test-1:1:1"
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
nginx:
image: jwilder/nginx-proxy
volumes:
- "/var/run/docker.sock:/tmp/docker.sock:ro"
ports:
- "9000:80"
remora:
# Built locally
image: remora:0.1.0-SNAPSHOT
# From repo
#image: registry.opensource.zalan.do/buffalo/remora:2.0.0
depends_on:
- kafka
environment:
KAFKA_ENDPOINT: "kafka:9094"
VIRTUAL_HOST: 'localhost'
expose:
- 9000