-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InfluxDB configuration files #1124
Conversation
| | `--session-renew-disabled` | Disables automatically extending session TTL on request | | `INFLUXD_SESSION_RENEW_DISABLED` | | ||
| | `--store` | Data store for REST resources (bolt or memory) (default `bolt`) | string | `INFLUXD_STORE` | | ||
| | `--tls-cert` | Path to TLS certificate file | string | `INFLUXD_TLS_CERT` | | ||
| | `--tls-key` | Path to TLS private key file | string | `INFLUXD_TLS_KEY` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very nice 👏, I see questions about this in the community every so often 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
### InfluxDB configuration file | ||
When `influxd` starts, it checks for a **`config.yaml` in the current working directory**. | ||
To customize the file name or path of the configuration file, set the `INFLUXD_CONFIG_FILE` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there no way to set this via a command line flag? influxd --config /path/to/my/config.yml
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the 1.x version of this is INFLUXDB_CONFIG_PATH
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In talking with @jsteenb2, the presents the chicken and the egg problem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yah its a doozie. @russorat made a card for this. It'll likely require a larger refactor of our cli
pkg to make this a reality. bit of a bummer. Was hoping to include this in the initial work but was just to much headache
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is fantastic 👏. I want to drop this in the #showme channels community/comp when this documentation lands 🙃
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
--- | ||
|
||
Customize your InfluxDB configuration by using configuration flags to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
using >> sending/passing?
| | `--e2e-testing` | Add /debug/flush endpoint to clear stores; used for end-to-end tests (default `false`) | | `INFLUXD_E2E_TESTING` | | ||
| | `--engine-path` | Path to persistent engine files (default `~/.influxdbv2/engine`) | string | `INFLUXD_ENGINE_PATH` | | ||
| `-h` | `--help` | Help for the `influxd` command | | | | ||
| | `--http-bind-address` | Bind address for the REST HTTP API (default `:9999`) | string | `INFLUXD_HTTP_BIND_ADDRESSBIND_ADDRESS` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra "BIND_ADDRESS"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, nice catch! Thanks!
Closes #1038
Closes #1113
Closes #1120
Restructured the Configuration options doc and updated the
influxd
docs to show alternate configuration methods: