forked from phillbaker/terraform-provider-elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
127 lines (126 loc) · 3.06 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
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
version: '3'
services:
elasticsearch:
image: ${OSS_IMAGE}
hostname: elasticsearch
container_name: elasticsearch
networks:
- elasticsearch # used by ESv6 kibana
environment:
- cluster.name=elasticsearch
- bootstrap.memory_lock=true
- discovery.type=single-node
- path.repo=/tmp
- network.publish_host=127.0.0.1
- logger.org.elasticsearch=warn
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
- ${OSS_ENV_VAR:-FOO=bar}
command: ${ES_COMMAND}
ulimits:
nproc: 65536
nofile:
soft: 65536
hard: 65536
memlock:
soft: -1
hard: -1
ports:
- 9200:9200
xpack:
image: ${XPACK_IMAGE:-rwgrim/docker-noop}
hostname: elasticsearch-xpack
container_name: elasticsearch-xpack
environment:
- cluster.name=xpack
- bootstrap.memory_lock=true
- discovery.type=single-node
- path.repo=/tmp
- xpack.license.self_generated.type=trial
- xpack.security.enabled=true
- xpack.watcher.enabled=true
- http.port=9210
- network.publish_host=127.0.0.1
- logger.org.elasticsearch=warn
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
- ELASTIC_PASSWORD=elastic
ulimits:
nproc: 65536
nofile:
soft: 65536
hard: 65536
memlock:
soft: -1
hard: -1
ports:
- 9210:9210
opendistro:
image: ${ES_OPENDISTRO_IMAGE:-rwgrim/docker-noop}
hostname: elasticsearch-opendistro
container_name: elasticsearch-opendistro
environment:
- cluster.name=opendistro
- bootstrap.memory_lock=true
- discovery.type=single-node
- path.repo=/tmp
- ${OPENSEARCH_PREFIX:-opendistro_security}.ssl.http.enabled=false
- http.port=9220
- network.publish_host=127.0.0.1
- logger.org.elasticsearch=warn
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
ulimits:
nproc: 65536
nofile:
soft: 65536
hard: 65536
memlock:
soft: -1
hard: -1
ports:
- 9220:9220
xpack-kibana:
image: ${XPACK_IMAGE:-rwgrim/docker-noop}
networks:
- elasticsearch # used by ESv7 kibana
environment:
- bootstrap.memory_lock=true
- discovery.type=single-node
- xpack.security.enabled=false
- http.port=9230
- logger.org.elasticsearch=warn
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
mem_limit: 1g
ulimits:
nproc: 65536
nofile:
soft: 65536
hard: 65536
memlock:
soft: -1
hard: -1
ports:
- 9230:9230
kibana:
image: ${ES_KIBANA_IMAGE:-rwgrim/docker-noop}
networks:
- elasticsearch
links:
- xpack-kibana
environment:
XPACK_ENCRYPTEDSAVEDOBJECTS_ENCRYPTIONKEY: aaaa1111bbbb2222cccc3333dddd4444
ELASTICSEARCH_HOSTS: http://xpack-kibana:9230
depends_on:
- elasticsearch
- xpack-kibana
ulimits:
nproc: 65536
nofile:
soft: 65536
hard: 65536
memlock:
soft: -1
hard: -1
ports:
- 5601:5601
networks:
elasticsearch:
driver: bridge