瀏覽代碼

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.
Josh Powers 1 年之前
父節點
當前提交
dafb32bc4d
共有 2 個文件被更改,包括 12 次插入0 次删除
  1. 6 0
      chronograf/content.md
  2. 6 0
      kapacitor/content.md

+ 6 - 0
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.

+ 6 - 0
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