mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-02 03:37:40 +02:00
update
This commit is contained in:
parent
321d8a863d
commit
4344c5d8f2
@ -37,6 +37,27 @@ influxdb:
|
|||||||
|
|
||||||
## up and running
|
## 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: <http://localhost:8083>
|
- Open url: <http://localhost:8083>
|
||||||
- Create user: `CREATE USER "username" WITH PASSWORD 'password'`
|
- Create user: `CREATE USER "username" WITH PASSWORD 'password'`
|
||||||
- Create database: `CREATE DATABASE "db_name"`
|
- Create database: `CREATE DATABASE "db_name"`
|
||||||
|
Loading…
Reference in New Issue
Block a user