From 7dcb693d6e8dd4896ce52c5a7ab7462d73e8b078 Mon Sep 17 00:00:00 2001 From: Dionysis Grigoropoulos Date: Wed, 22 Nov 2017 00:19:34 +0200 Subject: [PATCH] Typo fixes on InfluxDB readme --- influxdb/content.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/influxdb/content.md b/influxdb/content.md index 2233d1d36..e508a0d18 100644 --- a/influxdb/content.md +++ b/influxdb/content.md @@ -192,11 +192,11 @@ To manually initialize the database and exit, the `/init-influxdb.sh` script can ```console $ docker run --rm \ - -e INFLUXDB_DB=db0 -e INFLUXDB_ADMIN_ENABLED=true - -e INFLUXDB_ADMIN_USER=admin -e INFLUXDB_ADMIN_USER=supersecretpassword - -e INFLUXDB_USER=telegraf -e INFLUXDB_USER_PASSWORD=secretpassword + -e INFLUXDB_DB=db0 -e INFLUXDB_ADMIN_ENABLED=true \ + -e INFLUXDB_ADMIN_USER=admin -e INFLUXDB_ADMIN_USER=supersecretpassword \ + -e INFLUXDB_USER=telegraf -e INFLUXDB_USER_PASSWORD=secretpassword \ -v $PWD:/var/lib/influxdb \ - /init-influxdb.sh + influxdb /init-influxdb.sh ``` The above would create the database `db0`, create an admin user with the password `supersecretpassword`, then create the `telegraf` user with your telegraf's secret password. It would then exit and leave behind any files it created in the volume that you mounted.