From dafb32bc4d9111b80a87c14775c0734ac792d474 Mon Sep 17 00:00:00 2001 From: Josh Powers Date: Wed, 5 Jun 2024 07:50:14 -0600 Subject: [PATCH] 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. --- chronograf/content.md | 6 ++++++ kapacitor/content.md | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/chronograf/content.md b/chronograf/content.md index 3270ea9ad..cb0e99c24 100644 --- a/chronograf/content.md +++ b/chronograf/content.md @@ -60,6 +60,12 @@ $ docker run -p 8888:8888 \ 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 See the [official docs](https://docs.influxdata.com/chronograf/latest/) for information on creating visualizations. diff --git a/kapacitor/content.md b/kapacitor/content.md index 9d0f75429..de171e770 100644 --- a/kapacitor/content.md +++ b/kapacitor/content.md @@ -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/) +#### 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 - 9092 TCP -- HTTP API endpoint