diff options
-rw-r--r-- | docker/influxdb/Dockerfile | 5 | ||||
-rw-r--r-- | docker/influxdb/influxdb.conf | 33 |
2 files changed, 38 insertions, 0 deletions
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] + + + |