WARNING: Version 5.0 of Kibana has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Configuring Kibana on Dockeredit
The Docker image provides several methods for configuring Kibana. The conventional
approach is to provide a kibana.yml
file as described in Configuring Kibana, but it’s
also possible to use environment variables to define settings.
Bind-mounted configurationedit
One way to configure Kibana on Docker is to provide kibana.yml
via bind-mounting.
With docker-compose
, the bind-mount can be specified like this:
services: kibana: image: docker.elastic.co/kibana/kibana:5.0.2 volumes: - ./kibana.yml:/usr/share/kibana/config/kibana.yml
Environment variable configurationedit
Under Docker, Kibana can be configured via environment variables. The following mappings are available:
Table 2. Docker Environment Variables
Environment Variable |
Kibana Setting |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
These variables can be set with docker-compose
like this:
services: kibana: image: docker.elastic.co/kibana/kibana:5.0.2 environment: SERVER_NAME: kibana.example.org ELASTICSEARCH_URL: http://elasticsearch.example.org
Environment variables take precedence over settings configured in kibana.yml
.
Docker defaultsedit
The following settings have different default values when using the Docker image:
|
|
|
|
|
|
|
|