blob: 02dea5784a5cdbebb5c70ed781d913f478a09f92 [file] [log] [blame]
Ruslan Khozinov9cbfacf2017-03-30 17:44:44 +00001parameters:
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 service:
8 elasticsearch:
9 replicas: ${_param:elasticsearch_replicas}
10 image: ${_param:docker_image_oss_elasticsearch}
11 restart:
12 condition: any
13 ports:
14 - ${_param:haproxy_elasticsearch_exposed_port}:${_param:haproxy_elasticsearch_bind_port}
15 volume:
16 elasticsearch:
17 type: bind
18 source: /srv/volumes/elasticsearch
19 destination: /var/lib/elasticsearch/data