From 9893125c62d2b83fd102b6accbbad3e3c8362f7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20GERMAIN?= Date: Thu, 9 Jul 2015 16:35:25 +0200 Subject: [PATCH] kibana documentation : environnement variable The official doc does not mention that you can pass the address of you elastic search instance with the `ELASTICSEARCH_URL` environment variable. See https://github.com/docker-library/kibana/blob/master/4.1/docker-entrypoint.sh --- kibana/content.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kibana/content.md b/kibana/content.md index b4f147517..5f83b6e29 100644 --- a/kibana/content.md +++ b/kibana/content.md @@ -22,4 +22,8 @@ This image includes `EXPOSE 5601` ([default `port`](https://www.elastic.co/guide docker run --name some-%%REPO%% --link some-elasticsearch:elasticsearch -p 5601:5601 -d %%REPO%% +You can also provide the address of elasticsearch via `ELASTICSEARCH_URL` environnement variable: + + docker run --name some-kibana -e ELASTICSEARCH_URL=http://some-elasticsearch:9200 -p 5601:5601 -d kibana + Then, access it via `http://localhost:5601` or `http://host-ip:5601` in a browser.