-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (47 loc) · 897 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
version: '2'
volumes:
data1:
driver: local
services:
fluentd:
build: ./fluentd
volumes:
- ./fluentd/conf:/fluentd/etc
links:
- "elasticsearch"
ports:
- "24224:24224"
- "24224:24224/udp"
- "9880:9880"
elasticsearch:
build: ./elastic
environment:
- "ES_JAVA_OPTS: -Xms384m -Xmx384m"
# - bootstrap.memory_lock=true
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- data1:/usr/share/elasticsearch/data
expose:
- 9200
ports:
- "9200:9200"
- "9300:9300"
curator:
build: curator/
links:
- elasticsearch
environment:
ELASTICSEARCH_HOST: elasticsearch
ELASTICSEARCH_PORT: 9200
MAX_INDEX_AGE: 1
kibana:
image: kibana:5.5
links:
- "elasticsearch"
ports:
- "5601:5601"
depends_on:
- elasticsearch