Skip to content

Commit

Permalink
fix: Copies all *.conf files into telegraf container
Browse files Browse the repository at this point in the history
- Upgrades Telegraf

fixes #31
  • Loading branch information
hferentschik committed Jun 1, 2022
1 parent 14dc625 commit b1e88fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions telegraf/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM telegraf:1.19
FROM telegraf:1.22.4

RUN apt-get update \
&& apt-get install -y vim netcat \
Expand All @@ -9,6 +9,6 @@ RUN rm /etc/telegraf/telegraf.conf
# need to create a dummy config, even if --config-directory is going to be specified
RUN touch /etc/telegraf/telegraf.conf

COPY weather_sensors.conf /etc/telegraf/telegraf.d/weather_sensors.conf
COPY *.conf /etc/telegraf/telegraf.d/
COPY entrypoint.sh /entrypoint.sh
CMD ["telegraf", "--config-directory", "/etc/telegraf/telegraf.d"]

0 comments on commit b1e88fd

Please sign in to comment.