Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #54 from balenalabs/53-fix-influxdb-config-path
Browse files Browse the repository at this point in the history
influxdb: Fix config file path location
  • Loading branch information
tmigone committed Jan 27, 2020
2 parents fa542c0 + 4accff3 commit 884f239
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion influxdb/Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ FROM balenalib/raspberrypi3-alpine

RUN apk add influxdb

RUN sed -i 's|/var/lib/influxdb|/data/influxdb|g' /etc/influxdb/influxdb.conf
RUN sed -i 's|/var/lib/influxdb|/data/influxdb|g' /etc/influxdb.conf

CMD ["influxd"]
2 changes: 1 addition & 1 deletion influxdb/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ FROM balenalib/%%BALENA_MACHINE_NAME%%-alpine

RUN apk add influxdb

RUN sed -i 's|/var/lib/influxdb|/data/influxdb|g' /etc/influxdb/influxdb.conf
RUN sed -i 's|/var/lib/influxdb|/data/influxdb|g' /etc/influxdb.conf

CMD ["influxd"]

0 comments on commit 884f239

Please sign in to comment.