mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-02-03 13:21:49 +02:00
add telegraf-arm
This commit is contained in:
parent
3be29a29af
commit
ce858ae072
@ -111,6 +111,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] swarm-arm
|
- [x] swarm-arm
|
||||||
- [x] taskd
|
- [x] taskd
|
||||||
- [x] telegraf
|
- [x] telegraf
|
||||||
|
- [x] telegraf-arm
|
||||||
- [x] tinc :+1:
|
- [x] tinc :+1:
|
||||||
- [x] tmail :beetle:
|
- [x] tmail :beetle:
|
||||||
- [x] tor
|
- [x] tor
|
||||||
|
21
telegraf/arm/Dockerfile
Normal file
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"]
|
8
telegraf/arm/docker-compose.yml
Normal file
8
telegraf/arm/docker-compose.yml
Normal file
@ -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
1569
telegraf/arm/telegraf.conf
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user