Difference between revisions of "InfluxDB"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
--user admin \ | --user admin \ | ||
--hide-headers | cut -f 3 | --hide-headers | cut -f 3 | ||
</pre> | </pre>[[File:Influxsetup.png]] |
Latest revision as of 12:00, 18 September 2022
docker run -d -p 8086:8086 --name influxdb \ -v influx_data:/var/lib/influxdb2 \ -v influx_config:/etc/influxdb2 \ -e DOCKER_INFLUXDB_INIT_MODE=setup \ -e DOCKER_INFLUXDB_INIT_USERNAME=admin \ -e DOCKER_INFLUXDB_INIT_PASSWORD=Your_Password \ -e DOCKER_INFLUXDB_INIT_ORG=heatweb \ -e DOCKER_INFLUXDB_INIT_BUCKET=heatweb \ -e DOCKER_INFLUXDB_INIT_RETENTION=1w \ influxdb:2.0 docker exec influxdb influx auth list \ --user admin \ --hide-headers | cut -f 3