elastichq docker compose

538 views
Skip to first unread message

lordcosmos1978

unread,
Apr 9, 2018, 1:06:45 PM4/9/18
to ElasticHQ
I am having troubles installing the containerized version of elastichq.
especially with the configuration via env variables. I am having issues finding proper documentation 

Can someone post an example docker run command or even a compose file so I can run it as a service ?

Many thanks.

Roy Russo

unread,
Apr 9, 2018, 1:26:42 PM4/9/18
to ElasticHQ
For testing, we use https://kitematic.com/ 

I'm not sure what the command-line alternative would be, but you can open an issue to add that to the documentation.

robododge

unread,
Sep 6, 2018, 3:45:33 PM9/6/18
to ElasticHQ
For docker compose, you can do something like this.

Create a yml file elastichq.yml
version: '2'
services
:
  elastichq
:
    image
: elastichq/elasticsearch-hq
    volumes
:
     
- /certs:/certs
    ports
:
     
- "5000:5000"
    environment
:
     
- HQ_ENABLE_SSL=True
     
- HQ_CA_CERTS=/certs/ca.crt


Then just run it with docker-compose -f elasticha.yml up

Reply all
Reply to author
Forward
0 new messages