File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM docker.elastic.co/elasticsearch/elasticsearch:6.4.1
2
+
3
+ USER root
4
+
5
+ # https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#_c_customized_image
6
+ ADD elasticsearch.yml /usr/share/elasticsearch/config/
7
+ RUN chown elasticsearch:elasticsearch config/elasticsearch.yml
8
+
9
+ USER elasticsearch
10
+
11
+ RUN bin/elasticsearch-plugin install -b com.floragunn:search-guard-6:6.4.1-23.1
Original file line number Diff line number Diff line change
1
+ network.host : 0.0.0.0
2
+
3
+ processors : ${PROCESSORS:}
4
+
5
+ # minimum_master_nodes need to be explicitly set when bound on a public IP
6
+ # set to 1 to allow single node clusters
7
+ # Details: https://github.com/elastic/elasticsearch/pull/17288
8
+ discovery.zen.minimum_master_nodes : ${DISCOVERY_ZEN_MINIMUM_MASTER_NODES:1}
9
+
10
+ # XPack - https://www.elastic.co/guide/en/x-pack/current/xpack-settings.html
11
+ xpack.ml.enabled : ${XPACK_ML_ENABLED:false}
12
+ xpack.monitoring.enabled : ${XPACK_MONITORING_ENABLED:false}
13
+ xpack.security.enabled : ${XPACK_SECURITY_ENABLED:false}
14
+ xpack.watcher.enabled : ${XPACK_WATCHER_ENABLED:false}
15
+
16
+ # SearchGuard Community Edition - https://docs.search-guard.com/latest/search-guard-community-edition.html
17
+ searchguard.enterprise_modules_enabled : ${SEARCHGUARD_ENTERPRISE_MODULES_ENABLED:false}
18
+
19
+ # see https://github.com/floragunncom/search-guard-ssl/blob/master/src/main/java/com/floragunn/searchguard/ssl/util/SSLConfigConstants.java#L28
20
+ searchguard.ssl.transport.enabled : ${SEARCHGUARD_SSL_TRANSPORT_ENABLED:false}
21
+ searchguard.ssl.http.enabled : ${SEARCHGUARD_SSL_HTTP_ENABLED:false}
You can’t perform that action at this time.
0 commit comments