blob: 083388cff4fce904e410f8fb6a74aa66d031b0ce [file] [log] [blame]
Volodymyr Stoikoe5ab6032017-04-22 17:41:29 +03001parameters:
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