updated config options with config path details
parent
b73a241993
commit
4103dd404b
|
@ -25,10 +25,13 @@ InfluxDB honors configuration settings using the following precedence:
|
||||||
3. Settings defined in a configuration file
|
3. Settings defined in a configuration file
|
||||||
|
|
||||||
### InfluxDB configuration file
|
### InfluxDB configuration file
|
||||||
When `influxd` starts, it checks for a **`config.yaml` in the current working directory**.
|
When `influxd` starts, it checks for a file named `config.*` (the file extension
|
||||||
To customize the file name or path of the configuration file, set the `INFLUXD_CONFIG_PATH`
|
depends on the syntax) **in the current working directory**.
|
||||||
environment variable to the custom name or path.
|
To customize the file path of the configuration file, set the `INFLUXD_CONFIG_PATH`
|
||||||
InfluxDB supports YAML, TOML, and JSON configuration files.
|
environment variable to your custom path.
|
||||||
|
On startup, `influxd` will check for a `config.*` in the `INFLUXD_CONFIG_PATH`.
|
||||||
|
|
||||||
|
InfluxDB supports **YAML** (`.yaml`, `.yml`), **TOML** (`.toml`), and **JSON** (`.json`) configuration files.
|
||||||
|
|
||||||
##### Example configuration file
|
##### Example configuration file
|
||||||
{{< code-tabs-wrapper >}}
|
{{< code-tabs-wrapper >}}
|
||||||
|
|
Loading…
Reference in New Issue