This repository has been archived by the owner on Jan 21, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 81
/
docker-compose.x-pack.yml
91 lines (90 loc) · 2.31 KB
/
docker-compose.x-pack.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
version: "3"
services:
#############################
# ELASTICSEARCH MASTER NODE #
#############################
master:
restart: unless-stopped
image: blacktop/elasticsearch:x-pack
environment:
- cluster.name=docker-cluster
- network.host=0
- ELASTIC_PASSWORD=pleasechangeme
- xpack.security.audit.enabled=true
- node.master=true
- node.ingest=false
- node.data=false
volumes:
- data:/usr/share/elasticsearch/data
networks:
- elastic
####################################
# ELASTICSEARCH CLIENT/INGEST NODE #
####################################
ingest:
restart: unless-stopped
image: blacktop/elasticsearch:x-pack
environment:
- cluster.name=docker-cluster
- network.host=0
- ELASTIC_PASSWORD=pleasechangeme
- xpack.security.audit.enabled=true
- node.master=true
- node.ingest=true
- node.data=false
- discovery.zen.ping.unicast.hosts=master
ports:
- "9200:9200"
links:
- master:elastic-master
networks:
- elastic
###########################
# ELASTICSEARCH DATA NODE #
###########################
data:
restart: unless-stopped
image: blacktop/elasticsearch:x-pack
environment:
- cluster.name=docker-cluster
- network.host=0
- ELASTIC_PASSWORD=pleasechangeme
- xpack.security.audit.enabled=true
- ES_JAVA_OPTS=-Xms2g -Xmx2g
- node.master=false
- node.ingest=false
- node.data=true
- discovery.zen.ping.unicast.hosts=master
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
environment:
- elasticsearch.url=http://elasticsearch:9200
- elasticsearch.username=elastic
- elasticsearch.password=pleasechangeme
- xpack.monitoring.ui.container.elasticsearch.enabled=true
networks:
- elastic
#############################
# ELASTICSEARCH DATA VOLUME #
#############################
volumes:
data:
################################
# ELASTICSEARCH BRIDGE NETWORK #
################################
networks:
elastic:
driver: bridge