Volodymyr Stoiko | e5ab603 | 2017-04-22 17:41:29 +0300 | [diff] [blame] | 1 | parameters: |
| 2 | _param: |
| 3 | elasticsearch_replicas: 1 |
| 4 | docker_image_oss_elasticsearch: docker-sandbox.sandbox.mirantis.net/vstoiko/oss/elasticsearch:latest |
| 5 | docker: |
| 6 | client: |
| 7 | stack: |
| 8 | elasticsearch: |
| 9 | service: |
| 10 | cluster: |
| 11 | image: ${_param:docker_image_oss_elasticsearch} |
| 12 | deploy: |
| 13 | replicas: ${_param:elasticsearch_replicas} |
| 14 | restart_policy: |
| 15 | condition: any |
| 16 | ports: |
| 17 | - ${_param:haproxy_elasticsearch_exposed_port}:${_param:haproxy_elasticsearch_bind_port} |
| 18 | volumes: |
| 19 | - /srv/volumes/elasticsearch:/usr/share/elasticsearch/data |