elasticsearch-head icon indicating copy to clipboard operation
elasticsearch-head copied to clipboard

Specify base_uri as an environment variable

Open JoyceBabu opened this issue 8 years ago • 4 comments

Is it possible to specify base_uri as an environment variable, when using docker?

JoyceBabu avatar May 02 '17 11:05 JoyceBabu

+1 for this. Alternatively, being able to run in proxy mode by supplying the proxy json configuration as a volume mapping would work.

marclennox avatar Jul 25 '17 16:07 marclennox

@marclennox This sounds like an interested possibility The way proxy will work is by creating a proxy to each cluster defined in the clusters folder, so you could allow the path to the clusters folder to be an env variable and then docker can provide a mapped directory at that point? Is this what you are thinking?

mobz avatar Jul 25 '17 23:07 mobz

@mobz yes exactly what I was thinking! I'm assuming that in proxy mode, your browser doesn't need to open a connection directly to elasticsearch?

marclennox avatar Jul 25 '17 23:07 marclennox

that's correct. recipes in proxy mode provide a way to traverse complex network topologies (eg burrow through a firewall, or access some cloud provider), while clusters provide configuration for specific instances of clusters

mobz avatar Jul 25 '17 23:07 mobz