osgn422w | 0ce11ea | 2019-07-17 16:17:13 +0200 | [diff] [blame] | 1 | --- |
| 2 | ## Default Elasticsearch configuration from elasticsearch-docker. |
| 3 | ## from https://github.com/elastic/elasticsearch-docker/blob/master/.tedi/template/elasticsearch.yml |
| 4 | # |
| 5 | cluster.name: "docker-cluster" |
| 6 | network.host: 0.0.0.0 |
| 7 | |
| 8 | # minimum_master_nodes need to be explicitly set when bound on a public IP |
| 9 | # set to 1 to allow single node clusters |
| 10 | # Details: https://github.com/elastic/elasticsearch/pull/17288 |
| 11 | discovery.zen.minimum_master_nodes: 1 |
| 12 | |
| 13 | ## Use single node discovery in order to disable production mode and avoid bootstrap checks |
| 14 | ## see https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html |
| 15 | # |
| 16 | discovery.type: single-node |
| 17 | |
| 18 | ## X-Pack settings |
| 19 | ## see https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-xpack.html |
| 20 | # |
| 21 | xpack.license.self_generated.type: basic |
| 22 | xpack.security.enabled: false |
| 23 | |
| 24 | ## Search Guard |
| 25 | # |
| 26 | searchguard.enterprise_modules_enabled: false |
| 27 | |
| 28 | searchguard.ssl.transport.keystore_filepath: sg/node-0-keystore.jks |
| 29 | searchguard.ssl.transport.truststore_filepath: sg/truststore.jks |
| 30 | searchguard.ssl.transport.enforce_hostname_verification: false |
| 31 | |
| 32 | searchguard.authcz.admin_dn: |
| 33 | - "CN=kirk,OU=client,O=client,l=tEst,C=De" |