修改influx配置文件8088端口
修改influx配置文件8088端口
[root@www /]# cat /etc/influxdb/influxdb.conf
bind-address="127.0.0.1:8089"
[meta]
dir = "/var/lib/influxdb/meta"
[data]
dir = "/var/lib/influxdb/data"
engine = "tsm1"
wal-dir = "/var/lib/influxdb/wal"
docker rm -f influxdb
docker run --name influxdb -d --net=host -p 8086:8086 \
-e INFLUXDB_DB=test \
-e INFLUXDB_ADMIN_USER=admin -e INFLUXDB_ADMIN_PASSWORD=supersecretpassword \
-e INFLUXDB_USER=root -e INFLUXDB_USER_PASSWORD=newpwd \
-v /support/influxdb:/var/lib/influxdb \
-v /etc/influxdb/influxdb.conf:/etc/influxdb/influxdb.conf \
influxdb
参考博客
influx详解(二):配置文件:https://blog.csdn.net/qq_32890891/article/details/80060974