#!/bin/bash echo "-------- InfluxDB ------------" docker pull influxdb docker rm -f home_influx docker run -d --restart=always --name home_influx -p 8086:8086 -v /volumes/influxdb_data/:/var/lib/influxdb influxdb echo "------- MongoDB ------------" docker pull mongo:4 docker rm -f homemongo docker run --restart=always --name homemongo -p 27017:27017 -v /volumes/mongo/:/data/db -d mongo:4 echo "------ Grafana -------------" docker pull grafana/grafana docker rm -f grafana docker run --restart=always -d --name=grafana -p 3000:3000 -v /volumes/grafana:/var/lib/grafana grafana/grafana