mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[docs] Include information on supplying array config options (#107258)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
parent
571c5c41b6
commit
f3a17a80b4
1 changed files with 4 additions and 3 deletions
|
@ -117,8 +117,9 @@ Some example translations are shown here:
|
|||
`SERVER_BASEPATH`:: `server.basePath`
|
||||
`MONITORING_ENABLED`:: `monitoring.enabled`
|
||||
|
||||
In general, any setting listed in <<settings>> can be
|
||||
configured with this technique.
|
||||
In general, any setting listed in <<settings>> can be configured with this technique.
|
||||
|
||||
Supplying array options can be tricky. The following example shows the syntax for providing an array to `ELASTICSEARCH_HOSTS`.
|
||||
|
||||
These variables can be set with +docker-compose+ like this:
|
||||
|
||||
|
@ -130,7 +131,7 @@ services:
|
|||
image: {docker-image}
|
||||
environment:
|
||||
SERVER_NAME: kibana.example.org
|
||||
ELASTICSEARCH_HOSTS: http://elasticsearch.example.org
|
||||
ELASTICSEARCH_HOSTS: '["http://es01:9200","http://es02:9200","http://es03:9200"]'
|
||||
----------------------------------------------------------
|
||||
|
||||
Since environment variables are translated to CLI arguments, they take
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue