Raspberry PI NAS
Setup your own NAS on a Raspberry Pi
Preview
Dashboard
Monitoring
Prerequisite
- OpenMediaVault (if wanted) here
- Docker
Install openmediavault
Either you install a Debian Linux or directy install the openmediavault
image following the corresponding installation guide or go directly to the manual for Raspberry PI.
Install Docker
Usually Docker can be installed through openmediavault
, but sometimes there are issues during the setup. Therefore I recommend to install it yourself following a simple guide.
Getting Started
All following commands need to be run from your Raspberry PI. Either connect via SSH
or direct access.
1. Clone Repository
git pull https://github.com/timoknapp/rpi-nas.git
cd rpi-nas
2. Configure your Setup
Replace Placeholders in docker-compose file:
-
${PATH_TO_DISK} with related Path on your PI
-
Execute the following command on your PI:
id `whoami`
- Replace ${USER_ID} with the integer value of
uid
. - Replace ${GROUP_ID} with the integer value of
gid
.
- Replace ${USER_ID} with the integer value of
-
Set password
postgres
user
3. Run Compose-Stack
docker-compose up
4. Try it out
Opening a browser with the IP of your PI should show now the Heimdall dashboard. A configured dashboard would like like one on top. (e.g. http://IP-OF-YOUR-PI
)
Components
Following show all the applications of the docker-compose.yml
related to their exposed ports on the host.
Application | Port | URL |
---|---|---|
Heimdall Dashboard | 80, 443 | http://localhost, https://localhost |
Plex | 32400 | http://localhost:32400/web/index.html |
Portainer | 9000 | http://localhost:9000 |
CloudCmd | 8008 | http://localhost:8008 |
pyLoad | 8088 | http://localhost:8088 |
Nextcloud | 8081 | http://localhost:8081 |
Home-Assistant(1) | 8123 | http://localhost:8123 |
Grafana | 3000 | http://localhost:3000 runs in influx network |
InfluxDB | - | runs in influx network |
Telegraf | - | runs in influx network |
Internet Speedtest | - | runs in influx network |
- In order to expose your external devices using Zigbee/Z-Wave dongles to the Home Assistant container, you can read this guide
Contributing
Feel free to modify, add, fork: simply