mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[server] Add server.name
This commit is contained in:
parent
4408069a9b
commit
738e3d0105
2 changed files with 5 additions and 0 deletions
|
@ -11,6 +11,9 @@
|
|||
# The maximum payload size in bytes for incoming server requests.
|
||||
# server.maxPayloadBytes: 1048576
|
||||
|
||||
# The Kibana server's name. This is used for display purposes.
|
||||
# server.name: "your-hostname"
|
||||
|
||||
# The URL of the Elasticsearch instance to use for all your queries.
|
||||
# elasticsearch.url: "http://localhost:9200"
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ import fs from 'fs';
|
|||
import path from 'path';
|
||||
import { get } from 'lodash';
|
||||
import { randomBytes } from 'crypto';
|
||||
import os from 'os';
|
||||
|
||||
import fromRoot from '../../utils/from_root';
|
||||
|
||||
|
@ -29,6 +30,7 @@ module.exports = () => Joi.object({
|
|||
}).default(),
|
||||
|
||||
server: Joi.object({
|
||||
name: Joi.string().default(os.hostname()),
|
||||
host: Joi.string().hostname().default('0.0.0.0'),
|
||||
port: Joi.number().default(5601),
|
||||
maxPayloadBytes: Joi.number().default(1048576),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue