1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/influxdb
2016-05-10 14:58:37 +08:00
..
docker-compose.yml update influxdb 2016-03-26 15:57:46 +08:00
Dockerfile upgrade influxdb to 0.12.2 2016-05-02 22:42:42 +08:00
README.md update influxdb 2016-05-10 14:58:37 +08:00

influxdb

InfluxDB is an open source distributed time series database with no external dependencies. It's useful for recording metrics, events, and performing analytics.

docker-compose.yml

influxdb:
  image: vimagick/influxdb
  ports:
    - "8083:8083"
    - "8086:8086"
    - "8088:8088"
    - "25826:25826/udp"
  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