updates to config options and influxd docs

pull/1124/head
Scott Anderson 2020-06-18 16:12:40 -06:00
parent c19e212996
commit 687c1e05aa
3 changed files with 20 additions and 5 deletions

View File

@ -21,6 +21,11 @@ influxd [flags]
influxd [command]
```
{{% note %}}
For information about other available InfluxDB configuration methods, see
[InfluxDB configuration options](/v2.0/reference/config-options/).
{{% /note %}}
## Commands
| Command | Description |

View File

@ -20,6 +20,7 @@ It starts and runs all the processes necessary for InfluxDB to function.
influxd run [flags]
```
{{% note %}}
Because `run` is the default command for `influxd`, the following commands are the same:
@ -29,6 +30,11 @@ influxd run
```
{{% /note %}}
{{% note %}}
For information about other available InfluxDB configuration methods, see
[InfluxDB configuration options](/v2.0/reference/config-options/).
{{% /note %}}
## Flags
{{% cli/influxd-flags %}}

View File

@ -1,17 +1,21 @@
---
title: InfluxDB configuration options
description: >
Customize your InfluxDB configuration by passing configuration flags with the `influxd` daemon,
setting environment variables, or defining configuration options in a configuration file.
Customize your InfluxDB configuration by passing configuration flags with the
[`influxd` daemon](/v2.0/reference/cli/influxd/), setting environment variables,
or defining configuration options in a configuration file.
menu:
v2_0_ref:
name: Configuration options
weight: 3
products: [oss]
related:
- /v2.0/reference/cli/influxd
---
Customize your InfluxDB configuration by using configuration flags with the `influxd` daemon,
setting environment variables, or defining configuration options in a configuration file.
Customize your InfluxDB configuration by using configuration flags with the
[`influxd` daemon](/v2.0/reference/cli/influxd/), setting environment variables,
or defining configuration options in a configuration file.
### Configuration precedence
InfluxDB honors configurations settings using the following precedence:
@ -22,7 +26,7 @@ InfluxDB honors configurations settings using the following precedence:
### InfluxDB configuration file
When `influxd` starts, it checks for a **`config.yaml` in the current working directory**.
To customize the fiel name or path of the configuration file, set the `INFLUXD_CONFIG_FILE`
To customize the file name or path of the configuration file, set the `INFLUXD_CONFIG_FILE`
environment variable to the custom name or path.
InfluxDB supports YAML, TOML, and JSON configuration files.