-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
34 lines (32 loc) · 847 Bytes
/
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
version: "2"
services:
zookeeper:
image: wurstmeister/zookeeper
ports:
- 2181:2181
kafka:
# currently, Kafka 2.0.0 is not supported
image: wurstmeister/kafka:1.1.0
ports:
- 9092:9092
environment:
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181/local
KAFKA_ADVERTISED_HOST_NAME: localhost
KAFKA_ADVERTISED_PORT: 9092
KAFKA_CREATE_TOPICS: "watch:1:1"
elastic:
image: docker.elastic.co/elasticsearch/elasticsearch:5.6.4
ports:
- 9200:9200
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- xpack.security.enabled=false
- xpack.monitoring.enabled=false
- xpack.graph.enabled=false
- xpack.watcher.enabled=false
- "ES_JAVA_OPTS=-Xms256m -Xmx256m"
ulimits:
memlock:
soft: -1
hard: -1