We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c933fe1 commit 975df90Copy full SHA for 975df90
.templates/telegraf/Dockerfile
@@ -20,6 +20,7 @@ ENV BASELINE_CONFIG=/${IOTSTACK_DEFAULTS_DIR}/telegraf-reference.conf
20
ENV IOTSTACK_CONFIG=/${IOTSTACK_DEFAULTS_DIR}/telegraf.conf
21
RUN cp /etc/telegraf/telegraf.conf ${BASELINE_CONFIG} && \
22
cat /${IOTSTACK_DEFAULTS_DIR}/auto_include/*.conf >> ${BASELINE_CONFIG} && \
23
+ rm -r /${IOTSTACK_DEFAULTS_DIR}/auto_include && \
24
chmod 444 ${BASELINE_CONFIG} && \
25
grep -v -e "^[ ]*#" -e "^[ ]*$" ${BASELINE_CONFIG} >${IOTSTACK_CONFIG} && \
26
sed -i '/^\[\[outputs.influxdb\]\]/a\ \ urls = ["http://influxdb:8086"]' ${IOTSTACK_CONFIG}
0 commit comments