1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00

update influxdb and grafana

This commit is contained in:
kev 2016-03-26 08:34:17 +08:00
parent a43cdd2f0c
commit 00d28d1146
5 changed files with 32 additions and 11 deletions

View File

@ -5,9 +5,9 @@
FROM debian:jessie
MAINTAINER kev <noreply@datageek.info>
ENV GRAFANA_VERSION=2.6.0 \
GRAFANA_FILE=grafana_${GRAFANA_VERSION}_amd64.deb \
GRAFANA_URL=https://grafanarel.s3.amazonaws.com/builds/${GRAFANA_FILE}
ENV GRAFANA_VERSION=2.6.0
ENV GRAFANA_FILE=grafana_${GRAFANA_VERSION}_amd64.deb
ENV GRAFANA_URL=https://grafanarel.s3.amazonaws.com/builds/${GRAFANA_FILE}
RUN set -xe \
&& apt-get update \
@ -18,8 +18,8 @@ RUN set -xe \
&& rm -rf ${GRAFANA_FILE} \
/var/lib/apt/lists/*
ENV GF_PATHS_DATA=/var/lib/grafana \
GF_PATHS_LOGS=/var/log/grafana
ENV GF_PATHS_DATA=/var/lib/grafana
ENV GF_PATHS_LOGS=/var/log/grafana
VOLUME /etc/grafana \
$GF_PATHS_DATA \

View File

@ -0,0 +1,8 @@
grafana:
image: vimagick/grafana
ports:
- "3000:3000"
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=ag2Ahth2u
restart: always

View File

@ -5,13 +5,16 @@
FROM debian:jessie
MAINTAINER kev <noreply@datageek.info>
ENV INFLUXDB_VER 0.9.6.1
ENV INFLUXDB_FILE influxdb_${INFLUXDB_VER}_amd64.deb
ENV INFLUXDB_URL https://s3.amazonaws.com/influxdb/${INFLUXDB_FILE}
ENV INFLUXDB_VERSION=0.11.0
ENV INFLUXDB_FILE=influxdb_${INFLUXDB_VERSION}-1_amd64.deb
ENV INFLUXDB_MD5=917148cda9d88aad384475c236aaf81e
ENV INFLUXDB_URL=https://s3.amazonaws.com/influxdb/${INFLUXDB_FILE}
RUN apt-get update \
RUN set -xe \
&& apt-get update \
&& apt-get install -y wget \
&& wget ${INFLUXDB_URL} \
&& wget ${INFLUXDB_URL} -O ${INFLUXDB_FILE} \
&& echo "${INFLUXDB_MD5} ${INFLUXDB_FILE}" | md5sum -c \
&& dpkg -i ${INFLUXDB_FILE} \
&& sed -i '/^reporting-disabled/s/false/true/' /etc/influxdb/influxdb.conf \
&& apt-get purge --auto-remove -y wget \

View File

@ -1,6 +1,9 @@
influxdb
========
`InfluxDB` is an open source distributed time series database with no external
[InfluxDB][1] is an open source distributed time series database with no external
dependencies. It's useful for recording metrics, events, and performing
analytics.
[1]: https://influxdata.com/

View File

@ -0,0 +1,7 @@
influxdb:
image: vimagick/influxdb
ports:
- "8083:8083"
- "8086:8086"
- "8088:8088"
restart: always