blob: ad73a50725f5185334feb672939bc51d7269e4ce (
plain)
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
|
version: '2'
services:
zookeeper:
image: wurstmeister/zookeeper
ports:
- "2181:2181"
volumes:
- ./data-zookeeper:/opt/zookeeper-3.4.9/data
logging:
driver: "json-file"
options:
max-size: "30m"
max-file: "5"
kafka:
build: .
ports:
- "9092:9092"
environment:
KAFKA_ADVERTISED_HOST_NAME: 172.18.0.1
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data-kafka:/kafka
logging:
driver: "json-file"
options:
max-size: "30m"
max-file: "5"
depends_on:
- zookeeper
dmaap:
image: attos/dmaap
ports:
- "3904:3904"
- "3905:3905"
volumes:
- /var/tmp/MsgRtrApi.properties:/appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties
depends_on:
- zookeeper
- kafka
logging:
driver: "json-file"
options:
max-size: "30m"
max-file: "5"
|