From e2e6d5f4f6ce0a28db4cef216ad0785975e66551 Mon Sep 17 00:00:00 2001 From: Gordon Kelly Date: Sat, 16 Dec 2017 12:33:14 +0000 Subject: docker: adding influxdb container for barometer Change-Id: Iaaa5d5fad2b0d38bbc235a8382fd5badd58b3e65 Signed-off-by: gordonkelly --- docker/influxdb/Dockerfile | 5 +++++ docker/influxdb/influxdb.conf | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 docker/influxdb/Dockerfile create mode 100644 docker/influxdb/influxdb.conf (limited to 'docker') diff --git a/docker/influxdb/Dockerfile b/docker/influxdb/Dockerfile new file mode 100644 index 00000000..83d6ad55 --- /dev/null +++ b/docker/influxdb/Dockerfile @@ -0,0 +1,5 @@ +FROM influxdb:1.3.7 + +RUN wget https://raw.githubusercontent.com/collectd/collectd/collectd-5.8/src/types.db -O /types.db +COPY ./influxdb.conf /etc/influxdb/influxdb.conf + diff --git a/docker/influxdb/influxdb.conf b/docker/influxdb/influxdb.conf new file mode 100644 index 00000000..af59499b --- /dev/null +++ b/docker/influxdb/influxdb.conf @@ -0,0 +1,33 @@ + +[meta] + dir = "/var/lib/influxdb/meta" + +[data] + dir = "/var/lib/influxdb/data" + wal-dir = "/var/lib/influxdb/wal" + +[coordinator] + +[retention] + +[shard-precreation] + + +[monitor] + + +[http] + +[[graphite]] + +[[collectd]] +enabled = true +typesdb = "/types.db" +[[opentsdb]] + +[[udp]] + +[continuous_queries] + + + -- cgit 1.2.3-korg