Skip to content

Commit e703b49

Browse files
committed
updated section 7. setup USB memory stick in readme
1 parent 5553303 commit e703b49

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,10 @@ This application consist of 2 [Mosquitto MQTT-brokers](https://mosquitto.org/):
7676
2. **mqtt-test** which is listening to Host OS port 1884
7777

7878
## 7. Setup of the USB memory Stick for Influxdb
79-
The *influxdb* container is configured so that its data will be stored on a USB memory stick connected to the raspberry that has label `influxdb` and that is formatted in the `ext4` format as is specified in the influxdb Dockerfile.
80-
The script `my_entrypoint.sh` has the additional instructions to mount this USB memory stick inside the influxdb container.
79+
The data of the influxdb will be stored in the mount location `\mnt\influxdb`.
80+
The *influxdb* container is configured (see Dockerfile and my_entrypoint.sh) so that a USB drive (e.g. a USB memory stick) with label `influxdb` will be mounted to this mount location. It is currently also expecting (see Dockerfile) that this USB drive is formatted in `ext4` format.
81+
82+
If no USB drive (or memory stick) with label `influxdb` is connected to the raspberry pi then the named volume `influxdb-data` will be mounted to this location as is specified in the `docker-compose.yml` file.
8183

8284
Notes
8385
1. the current *Balena* version doesn't yet support the definition of a volume for such a mounted drive in the docker compose yaml file therefore this is handled through the influxdb container setup as described here above.

0 commit comments

Comments
 (0)