An Open-Source, Distributed, Time Series Database.
3.2K
:warning: Please use the official image influxdb!
InfluxDB is an open source distributed time series database with no external dependencies. It's useful for recording metrics, events, and performing analytics.
For official image:
influxdb:
image: influxdb:alpine
ports:
- "8083:8083"
- "8086:8086"
volumes:
- ./data:/var/lib/influxdb
restart: always
For unofficial image:
influxdb:
image: vimagick/influxdb
ports:
- "8083:8083"
- "8086:8086"
- "8088:8088"
- "25826:25826/udp"
restart: always
$ 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
CREATE USER "username" WITH PASSWORD 'password'CREATE DATABASE "db_name"db_nameINSERT cpu,host=serverA,region=us_west value=0.64SELECT * FROM cpuContent type
Image
Digest
sha256:2b93114cf…
Size
71.7 MB
Last updated
over 5 years ago
docker pull vimagick/influxdb