Skip to content

Commit dfba652

Browse files
committed
undid changes for INFLUXDB_DATA_FSTAB
1 parent 5633aa2 commit dfba652

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ services:
1111
environment:
1212
- INFLUXDB_DATA_FSTAB = "LABEL=influxdb /mnt/usbdrive ext4 rw,relatime,discard,data=ordered 0 2"
1313
volumes:
14-
- 'influxdb-data:/data'
14+
- 'influxdb-data:/mnt/usbdrive'
1515
ports:
1616
# The API for InfluxDB is served on port 8086
1717
- "8086:8086"

influxdb/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM arm32v7/influxdb:latest
22

3-
RUN echo $INFLUXDB_DATA_FSTAB >> /etc/fstab
3+
RUN echo "LABEL=influxdb /mnt/usbdrive ext4 rw,relatime,discard,data=ordered 0 2" >> /etc/fstab
44

55
# The script "my_entrypoint.sh" is an extension of the existing script with extra instructions to mount the usb memory stick.
66
COPY my_entrypoint.sh /entrypoint.sh

0 commit comments

Comments
 (0)