1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:15 +02:00

move grafana/telegraf/influxdb (arm) to EasyPi/docker-dashboard-arm

This commit is contained in:
kev 2016-09-09 08:43:02 +08:00
parent 3d0232f3ad
commit 5780c285ce
9 changed files with 2 additions and 1688 deletions

View File

@ -59,7 +59,6 @@ A collection of delicious docker recipes.
- [x] httpbin :+1:
- [x] hubot
- [x] influxdb
- [x] influxdb-arm
- [x] mariadb
- [x] mariadb-arm
- [x] monit
@ -84,7 +83,6 @@ A collection of delicious docker recipes.
- [x] swarm-arm
- [x] taskd
- [x] telegraf
- [x] telegraf-arm
- [x] tmail :beetle:
- [x] urlwatch :beetle:
- [x] vnstat
@ -119,7 +117,6 @@ A collection of delicious docker recipes.
- [x] dokuwiki-arm :+1:
- [x] gogs-arm :cn:
- [x] grafana
- [x] grafana-arm
- [x] hugo
- [x] hugo-arm
- [x] jamapi

View File

@ -1,37 +0,0 @@
#
# Dockerfile for grafana-arm
#
FROM resin/rpi-raspbian:jessie
MAINTAINER kev <noreply@easypi.info>
ENV GRAFANA_VERSION=3.0.4-1464202710
ENV GRAFANA_FILE=grafana_${GRAFANA_VERSION}_armhf.deb
ENV GRAFANA_URL=https://github.com/vimagick/rpi-bin/raw/master/deb/${GRAFANA_FILE}
RUN set -xe \
&& apt-get update \
&& apt-get install -y ca-certificates \
libfontconfig \
wget \
&& wget ${GRAFANA_URL} \
&& dpkg -i ${GRAFANA_FILE} \
&& apt-get purge --auto-remove -y wget \
&& rm -rf ${GRAFANA_FILE} \
/var/lib/apt/lists/*
ENV GF_PATHS_DATA=/var/lib/grafana
ENV GF_PATHS_LOGS=/var/log/grafana
ENV GF_PATHS_PLUGINS=/var/lib/grafana/plugins
VOLUME /etc/grafana \
$GF_PATHS_DATA \
$GF_PATHS_LOGS
EXPOSE 3000
CMD grafana-server --homepath=/usr/share/grafana \
--config=/etc/grafana/grafana.ini \
cfg:default.paths.data="$GF_PATHS_DATA" \
cfg:default.paths.logs="$GF_PATHS_LOGS" \
cfg:default.paths.plugins="$GF_PATHS_PLUGINS"

View File

@ -1,9 +0,0 @@
grafana:
image: easypi/grafana-arm
ports:
- "3000:3000"
environment:
- GF_SERVER_ROOT_URL=http://grafana.easypi.info/
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=admin
restart: always

View File

@ -5,9 +5,9 @@
FROM debian:jessie
MAINTAINER kev <noreply@easypi.info>
ENV INFLUXDB_VERSION=0.13.0
ENV INFLUXDB_VERSION=1.0.0
ENV INFLUXDB_FILE=influxdb_${INFLUXDB_VERSION}_amd64.deb
ENV INFLUXDB_MD5=4f0aa76fee22cf4c18e2a0779ba4f462
ENV INFLUXDB_MD5=a25daf049d2482166b248fe2d0be4b69
ENV INFLUXDB_URL=https://dl.influxdata.com/influxdb/releases/${INFLUXDB_FILE}
ENV COLLECTD_URL=https://github.com/collectd/collectd/raw/master/src/types.db

View File

@ -1,29 +0,0 @@
#
# Dockerfile for influxdb-arm
#
FROM resin/rpi-raspbian:jessie
MAINTAINER kev <noreply@easypi.info>
ENV INFLUXDB_VERSION=0.13.0
ENV INFLUXDB_FILE=influxdb_${INFLUXDB_VERSION}_armhf.deb
ENV INFLUXDB_MD5=bcca4c91bbd8e7f60e4a8325be67a08a
ENV INFLUXDB_URL=https://dl.influxdata.com/influxdb/releases/${INFLUXDB_FILE}
ENV COLLECTD_URL=https://github.com/collectd/collectd/raw/master/src/types.db
RUN set -xe \
&& apt-get update \
&& apt-get install -y ca-certificates wget \
&& 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 \
&& wget ${COLLECTD_URL} -O /usr/lib/influxdb/types.db \
&& apt-get purge --auto-remove -y wget \
&& rm -rf ${INFLUXDB_FILE} \
/var/lib/apt/lists/*
VOLUME /etc/influxdb /var/lib/influxdb
EXPOSE 8083 8086 8088
CMD ["influxd", "-config", "/etc/influxdb/influxdb.conf"]

View File

@ -1,8 +0,0 @@
influxdb:
image: easypi/influxdb-arm
ports:
- "8083:8083"
- "8086:8086"
volumes:
- ./data:/var/lib/influxdb
restart: always

View File

@ -1,21 +0,0 @@
#
# Dockerfile for telegraf-arm
#
FROM easypi/alpine-arm
MAINTAINER kev <noreply@easypi.info>
ENV TELEGRAF_VERSION 1.0.0
ENV TELEGRAF_FILE telegraf-${TELEGRAF_VERSION}_linux_armhf.tar.gz
ENV TELEGRAF_URL https://dl.influxdata.com/telegraf/releases/${TELEGRAF_FILE}
RUN set -xe \
&& apk add --no-cache --virtual .build-deps ca-certificates curl tar \
&& update-ca-certificates \
&& curl -sSL ${TELEGRAF_URL} | tar xz --strip 2 -C / \
&& apk del .build-deps \
&& rm -rf /var/cache/apk/*
EXPOSE 8092/udp 8094/tcp 8125/udp
ENTRYPOINT ["telegraf"]

View File

@ -1,10 +0,0 @@
telegraf:
image: easypi/telegraf-arm
ports:
- "8092:8092/udp"
- "8094:8094/tcp"
volumes:
- ./telegraf.conf:/etc/telegraf/telegraf.conf
net: host
pid: host
restart: always

File diff suppressed because it is too large Load Diff