I am trying to deploy elasticsearch in predix, I tried to push the downloaded elasticsearch folder into predix with the following manifest.
---
applications:
- name: elastic-search-test3
buildpack: java_buildpack
# path: target/elstic-search-test-1.0.0.jar
command: elasticsearch-5.2.2/bin/elasticsearch -f
#timeout : 180
am getting error like port should not be hard coded, should need to use $PORT.
then I tried to set to set the port and host in elasticsearch config as follows
http.port: ${VCAP_APP_PORT}
network.host: ${VCAP_APP_HOST}
but no luck.
Can someone point to solution to deploy elasticsearch on predix?