forked from blacktop/docker-kibana-alpine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
64 lines (63 loc) · 1.41 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
63
64
version: "2"
services:
#############################
# ELASTICSEARCH MASTER NODE #
#############################
master:
restart: unless-stopped
image: blacktop/elasticsearch:x-pack
command: master
# volumes:
# - data:/usr/share/elasticsearch/data
networks:
- elastic
####################################
# ELASTICSEARCH CLIENT/INGEST NODE #
####################################
ingest:
restart: unless-stopped
image: blacktop/elasticsearch:x-pack
command: ingest
ports:
- "9200:9200"
links:
- master:elastic-master
networks:
- elastic
###########################
# ELASTICSEARCH DATA NODE #
###########################
data:
restart: unless-stopped
image: blacktop/elasticsearch:x-pack
environment:
- ES_JAVA_OPTS=-Xms2g -Xmx2g
command: data
links:
- master:elastic-master
# volumes:
# - data:/usr/share/elasticsearch/data
networks:
- elastic
###############
# KIBANA NODE #
###############
kibana:
image: blacktop/kibana:x-pack
ports:
- "80:5601"
links:
- ingest:elasticsearch
networks:
- elastic
#############################
# ELASTICSEARCH DATA VOLUME #
#############################
# volumes:
# data:
################################
# ELASTICSEARCH BRIDGE NETWORK #
################################
networks:
elastic:
driver: bridge