Ident samples
This commit is contained in:
parent
6184c0bf3d
commit
02db9cc19c
47 changed files with 2660 additions and 215 deletions
|
|
@ -0,0 +1,23 @@
|
|||
FROM debian
|
||||
|
||||
ENV INFLUXDB_VERSION 1.0.0
|
||||
ENV CHRONOGRAF_VERSION 1.0.0
|
||||
RUN apt-get update && apt-get install -y wget && \
|
||||
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
|
||||
|
||||
# start.sh should already be executable
|
||||
COPY start.sh /usr/bin/start.sh
|
||||
|
||||
CMD ["start.sh"]
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
Bind="0.0.0.0:10000"
|
||||
LocalDatabase="/var/lib/chronograf/chronograf.db"
|
||||
|
|
@ -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
|
||||
9
tutorial/docker-orchestration/misc/mymonitoring-wait/start.sh
Executable file
9
tutorial/docker-orchestration/misc/mymonitoring-wait/start.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
influxd &
|
||||
WAIT=$!
|
||||
|
||||
/opt/chronograf/chronograf &
|
||||
WAIT="${WAIT} $!"
|
||||
|
||||
wait ${WAIT}
|
||||
Loading…
Add table
Add a link
Reference in a new issue