File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
FROM arm32v7/influxdb:latest
2
2
3
- # The following instruction defines the mount location where the influxdb data should be stored.
4
- # In this case it is referring to an USB memory stick with label "influxdb" that is formatted in "ext4" format.
5
- # If there is no such USB drive connected to the device then the named volume specified in the
6
- # docker compose will be used.
3
+ # If the following instruction refers to an existing USB drive (e.g. memory stick) connected to the device
4
+ # then it will use that drive for storing in the influxdb otherwise it will use the named volume
5
+ # that is specified in the docker compose yaml file.
7
6
#
8
- RUN echo "LABEL=influxdb2 /mnt/influxdb ext4 rw,relatime,discard,data=ordered 0 2" >> /etc/fstab
7
+ # So the instruction below refers to a connected USB drive with label "influxdb" which should be in "ext4" format.
8
+ RUN echo "LABEL=influxdb /mnt/influxdb ext4 rw,relatime,discard,data=ordered 0 2" >> /etc/fstab
9
9
10
10
# The script "my_entrypoint.sh" is an extension of the existing script with extra instructions to mount the usb memory stick.
11
11
COPY my_entrypoint.sh /entrypoint.sh
You can’t perform that action at this time.
0 commit comments