1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-24 07:48:38 +00:00

add telegraf-arm

This commit is contained in:
kev 2016-06-01 18:17:38 +08:00
parent 3be29a29af
commit ce858ae072
4 changed files with 1599 additions and 0 deletions

@ -111,6 +111,7 @@ A collection of delicious docker recipes.
- [x] swarm-arm
- [x] taskd
- [x] telegraf
- [x] telegraf-arm
- [x] tinc :+1:
- [x] tmail :beetle:
- [x] tor

21
telegraf/arm/Dockerfile Normal file

@ -0,0 +1,21 @@
#
# Dockerfile for telegraf-arm
#
FROM easypi/alpine-arm
MAINTAINER kev <noreply@easypi.info>
ENV TELEGRAF_VERSION 0.13.1
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 1 -C / \
&& apk del .build-deps \
&& rm -rf /var/cache/apk/*
EXPOSE 8092/udp 8094/tcp 8125/udp
ENTRYPOINT ["telegraf"]

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

1569
telegraf/arm/telegraf.conf Normal file

File diff suppressed because it is too large Load Diff