- Docker Registry @monstrenyatko/rpi-influxdb
- GitHub @monstrenyatko/docker-rpi-influxdb
Rework of the official image to make it compatible with Raspberry Pi.
- Execute build script:
./build.sh
- Create
Data
storage:
INFLUXDB_DATA="influxdb-data"
docker volume create --name $INFLUXDB_DATA
- Create
Configuration
storage:
INFLUXDB_CFG="influxdb-config"
docker volume create --name $INFLUXDB_CFG
- Copy
Configuration
to the storage:
docker run -v $INFLUXDB_CFG:/mnt --rm -v $(pwd):/src hypriot/armhf-busybox \
cp /src/influxdb.conf /mnt/influxdb.conf
- Edit
Configuration
(OPTIONAL):
docker run -v $INFLUXDB_CFG:/mnt --rm -it hypriot/armhf-busybox \
vi /mnt/influxdb.conf
- Start prebuilt image:
docker-compose up -d --no-build
- Stop/Restart:
docker stop influxdb
docker start influxdb