Update chronograf and kapacitor: Specify how to run as root

In a recent release we stopped running as the root user, but provided
users a way to change this if they wanted to via an env variable. This
adds this variable to the docs.
This commit is contained in:
Josh Powers 2024-06-05 07:50:14 -06:00
parent 6fdcf257c8
commit dafb32bc4d
No known key found for this signature in database
GPG Key ID: A2FA14A470214D78
2 changed files with 12 additions and 0 deletions

View File

@ -60,6 +60,12 @@ $ docker run -p 8888:8888 \
Try combining this with Telegraf to get dashboards for your infrastructure within minutes! Try combining this with Telegraf to get dashboards for your infrastructure within minutes!
#### Running as root
Starting in v1.10.5, Chronograf no longer run as the root user by default. If a
user wants to revert this change they can set `CHRONOGRAF_AS_ROOT=true` as an
environment variable.
## Official Documentation ## Official Documentation
See the [official docs](https://docs.influxdata.com/chronograf/latest/) for information on creating visualizations. See the [official docs](https://docs.influxdata.com/chronograf/latest/) for information on creating visualizations.

View File

@ -67,6 +67,12 @@ KAPACITOR_INFLUXDB_0_URLS_0=http://influxdb:8086
Find more about configuring Kapacitor [here](https://docs.influxdata.com/kapacitor/latest/introduction/installation/) Find more about configuring Kapacitor [here](https://docs.influxdata.com/kapacitor/latest/introduction/installation/)
#### Running as root
Starting in v1.7.4, Kapacitor no longer run as the root user by default. If a
user wants to revert this change they can set `KAPACITOR_AS_ROOT=true` as an
environment variable.
### Exposed Ports ### Exposed Ports
- 9092 TCP -- HTTP API endpoint - 9092 TCP -- HTTP API endpoint