1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02:00

update influxdb

This commit is contained in:
kev 2016-05-10 14:58:37 +08:00
parent f7859319ec
commit b168f274b0

View File

@ -18,4 +18,13 @@ influxdb:
restart: always
```
## up and running
- Open url: <http://localhost:8083>
- Create user: `CREATE USER "username" WITH PASSWORD 'password'`
- Create database: `CREATE DATABASE "db_name"`
- Select database: `db_name`
- Write data: `INSERT cpu,host=serverA,region=us_west value=0.64`
- Query data: `SELECT * FROM cpu`
[1]: https://influxdata.com/