Ident samples

This commit is contained in:
nemunaire 2018-10-14 22:58:19 +02:00
commit 02db9cc19c
47 changed files with 2660 additions and 215 deletions

View file

@ -0,0 +1,22 @@
FROM debian
ENV INFLUXDB_VERSION 1.0.0
ENV CHRONOGRAF_VERSION 1.0.0
RUN apt-get update && apt-get install -y wget supervisor && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
wget -q https://dl.influxdata.com/influxdb/releases/influxdb_${INFLUXDB_VERSION}_amd64.deb && \
wget -q https://dl.influxdata.com/chronograf/releases/chronograf_${CHRONOGRAF_VERSION}_amd64.deb && \
dpkg -i influxdb_${INFLUXDB_VERSION}_amd64.deb chronograf_${CHRONOGRAF_VERSION}_amd64.deb && \
rm -f influxdb_${INFLUXDB_VERSION}_amd64.deb chronograf_${CHRONOGRAF_VERSION}_amd64.deb
EXPOSE 8083 8086 10000
VOLUME /var/lib/influxdb
VOLUME /var/lib/chronograf
COPY influxdb.conf /etc/influxdb/influxdb.conf
COPY chronograf.conf /etc/chronograf/chronograf.conf
COPY supervisor.conf /etc/supervisor/conf.d/supervisord.conf
CMD ["/usr/bin/supervisord"]

View file

@ -0,0 +1,2 @@
Bind="0.0.0.0:10000"
LocalDatabase="/var/lib/chronograf/chronograf.db"

View file

@ -0,0 +1,10 @@
[meta]
dir = "/var/lib/influxdb/meta"
[data]
dir = "/var/lib/influxdb/data"
engine = "tsm1"
wal-dir = "/var/lib/influxdb/wal"
[admin]
enabled = true

View file

@ -0,0 +1,8 @@
[supervisord]
nodaemon=true
[program:influxdb]
command=/usr/bin/influxd
[program:chronograf]
command=/opt/chronograf/chronograf