Volodymyr Stoiko | e5ab603 | 2017-04-22 17:41:29 +0300 | [diff] [blame] | 1 | parameters: |
| 2 | _param: |
| 3 | elasticsearch_replicas: 1 |
Volodymyr Stoiko | 1536104 | 2017-06-12 16:03:51 +0300 | [diff] [blame] | 4 | docker_image_elasticsearch: docker.elastic.co/elasticsearch/elasticsearch:5.4.1 |
Volodymyr Stoiko | 1ae92ce | 2017-08-11 11:45:12 +0300 | [diff] [blame] | 5 | elasticsearch_bind_host: elasticsearch-cluster |
| 6 | elasticsearch_http_bind_port: ${_param:haproxy_elasticsearch_http_bind_port} |
| 7 | elasticsearch_binary_bind_port: ${_param:haproxy_elasticsearch_binary_bind_port} |
| 8 | elasticsearch_ssl: |
| 9 | enabled: false |
Volodymyr Stoiko | 1536104 | 2017-06-12 16:03:51 +0300 | [diff] [blame] | 10 | elasticsearch_cluster_name: oss-cluster |
| 11 | elasticsearch_xpack_security_enabled: 'false' |
Vladislav Naumov | 1a4fdd6 | 2017-08-29 12:50:46 +0300 | [diff] [blame] | 12 | elasticsearch_xpack_monitoring_enabled: 'false' |
Volodymyr Stoiko | 1536104 | 2017-06-12 16:03:51 +0300 | [diff] [blame] | 13 | elasticsearch_discovery_zen_minimum_master_nodes: 1 |
Volodymyr Stoiko | f6dea97 | 2017-06-19 18:43:09 +0300 | [diff] [blame] | 14 | elasticsearch_discovery_type: single-node |
Volodymyr Stoiko | e5ab603 | 2017-04-22 17:41:29 +0300 | [diff] [blame] | 15 | docker: |
| 16 | client: |
| 17 | stack: |
| 18 | elasticsearch: |
Volodymyr Stoiko | 1536104 | 2017-06-12 16:03:51 +0300 | [diff] [blame] | 19 | environment: |
| 20 | cluster.name: ${_param:elasticsearch_cluster_name} |
| 21 | xpack.security.enabled: ${_param:elasticsearch_xpack_security_enabled} |
Vladislav Naumov | 1a4fdd6 | 2017-08-29 12:50:46 +0300 | [diff] [blame] | 22 | xpack.monitoring.enabled: ${_param:elasticsearch_xpack_monitoring_enabled} |
Volodymyr Stoiko | 1536104 | 2017-06-12 16:03:51 +0300 | [diff] [blame] | 23 | discovery.zen.minimum_master_nodes: ${_param:elasticsearch_discovery_zen_minimum_master_nodes} |
Volodymyr Stoiko | f6dea97 | 2017-06-19 18:43:09 +0300 | [diff] [blame] | 24 | discovery.type: ${_param:elasticsearch_discovery_type} |
Volodymyr Stoiko | e5ab603 | 2017-04-22 17:41:29 +0300 | [diff] [blame] | 25 | service: |
Volodymyr Stoiko | 1ae92ce | 2017-08-11 11:45:12 +0300 | [diff] [blame] | 26 | elasticsearch-cluster: |
Vladislav Naumov | 38b62db | 2017-06-19 16:45:20 +0300 | [diff] [blame] | 27 | image: ${_param:docker_image_elasticsearch} |
Volodymyr Stoiko | e5ab603 | 2017-04-22 17:41:29 +0300 | [diff] [blame] | 28 | deploy: |
| 29 | replicas: ${_param:elasticsearch_replicas} |
| 30 | restart_policy: |
| 31 | condition: any |
Volodymyr Stoiko | 1ae92ce | 2017-08-11 11:45:12 +0300 | [diff] [blame] | 32 | volumes: |
| 33 | - /srv/volumes/elasticsearch:/usr/share/elasticsearch/data |
Volodymyr Stoiko | e5ab603 | 2017-04-22 17:41:29 +0300 | [diff] [blame] | 34 | ports: |
Volodymyr Stoiko | 38d3d87 | 2017-06-20 17:55:07 +0300 | [diff] [blame] | 35 | - ${_param:haproxy_elasticsearch_http_exposed_port}:${_param:haproxy_elasticsearch_http_bind_port} |
| 36 | - ${_param:haproxy_elasticsearch_binary_exposed_port}:${_param:haproxy_elasticsearch_binary_bind_port} |
Volodymyr Stoiko | 1ae92ce | 2017-08-11 11:45:12 +0300 | [diff] [blame] | 37 | network: |
| 38 | default: |
| 39 | external: |
| 40 | name: oss_backend |