blob: fe7c35ec1c21150b9360c1865588dd6fb37f2b93 [file] [log] [blame]
Volodymyr Stoikoe5ab6032017-04-22 17:41:29 +03001parameters:
2 _param:
3 elasticsearch_replicas: 1
Volodymyr Stoiko15361042017-06-12 16:03:51 +03004 docker_image_elasticsearch: docker.elastic.co/elasticsearch/elasticsearch:5.4.1
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +03005 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 Stoiko15361042017-06-12 16:03:51 +030010 elasticsearch_cluster_name: oss-cluster
11 elasticsearch_xpack_security_enabled: 'false'
Vladislav Naumov1a4fdd62017-08-29 12:50:46 +030012 elasticsearch_xpack_monitoring_enabled: 'false'
Volodymyr Stoiko15361042017-06-12 16:03:51 +030013 elasticsearch_discovery_zen_minimum_master_nodes: 1
Volodymyr Stoikof6dea972017-06-19 18:43:09 +030014 elasticsearch_discovery_type: single-node
Volodymyr Stoikoe5ab6032017-04-22 17:41:29 +030015 docker:
16 client:
17 stack:
18 elasticsearch:
Volodymyr Stoiko15361042017-06-12 16:03:51 +030019 environment:
20 cluster.name: ${_param:elasticsearch_cluster_name}
21 xpack.security.enabled: ${_param:elasticsearch_xpack_security_enabled}
Vladislav Naumov1a4fdd62017-08-29 12:50:46 +030022 xpack.monitoring.enabled: ${_param:elasticsearch_xpack_monitoring_enabled}
Volodymyr Stoiko15361042017-06-12 16:03:51 +030023 discovery.zen.minimum_master_nodes: ${_param:elasticsearch_discovery_zen_minimum_master_nodes}
Volodymyr Stoikof6dea972017-06-19 18:43:09 +030024 discovery.type: ${_param:elasticsearch_discovery_type}
Volodymyr Stoikoe5ab6032017-04-22 17:41:29 +030025 service:
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030026 elasticsearch-cluster:
Vladislav Naumov38b62db2017-06-19 16:45:20 +030027 image: ${_param:docker_image_elasticsearch}
Volodymyr Stoikoe5ab6032017-04-22 17:41:29 +030028 deploy:
29 replicas: ${_param:elasticsearch_replicas}
30 restart_policy:
31 condition: any
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030032 volumes:
33 - /srv/volumes/elasticsearch:/usr/share/elasticsearch/data
Volodymyr Stoikoe5ab6032017-04-22 17:41:29 +030034 ports:
Volodymyr Stoiko38d3d872017-06-20 17:55:07 +030035 - ${_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 Stoiko1ae92ce2017-08-11 11:45:12 +030037 network:
38 default:
39 external:
40 name: oss_backend