diff --git a/influxdb/README.md b/influxdb/README.md index 37246da..f8a0474 100644 --- a/influxdb/README.md +++ b/influxdb/README.md @@ -37,6 +37,27 @@ influxdb: ## up and running +```bash +$ docker-compose up -d +$ docker-compose exec influxdb influx +>>> show databases +name: databases +name +---- +_internal +db_name + +>>> use db_name +Using database db_name + +>>> show series +key +--- +cpu + +>>> quit +``` + - Open url: - Create user: `CREATE USER "username" WITH PASSWORD 'password'` - Create database: `CREATE DATABASE "db_name"`