> ssh pi@homelab

My Lab: Raspberry Pi 5 Homelab

My personal self-hosted infrastructure on Raspberry Pi 5. This portfolio is hosted there, alongside a complete stack: personal cloud, DNS filtering, monitoring, media server and databases. A modular DevOps/SRE-oriented architecture, ready for AI/LLM workloads.

> neofetch

Raspberry Pi 5
Raspberry Pi

Raspberry Pi 5

24/7
▸16 GB RAM
▸NVMe 1 TB
▸Pironman 5 case
▸ARM64 architecture
▸Debian Linux + systemd
▸Ethernet LAN connection
▸UFW firewall + hardened SSH
▸24/7 operation

> cat ~/architecture.md

1

LAN devices

Clients connected to the local network

2

Pi-hole (DNS)

DNS resolution + ad blocking

3

Nginx Proxy Manager

HTTPS reverse proxy

4

Docker services

Containerized applications

5

/srv volumes

Persistent data

> docker ps

Nextcloud

running

Personal cloud with multi-device sync

nextcloud.home

Pi-hole

running

Smart local DNS with ad blocking and internal resolution

pihole.home

Nginx Proxy Manager

running

HTTPS reverse proxy with TLS certificate management

Grafana

running

System and Docker monitoring dashboards with alerts

grafana.home

Prometheus

running

Collection of system, container and service metrics

Portainer

running

Docker container management interface

MariaDB

running

Database for Nextcloud with automated backups

Redis

running

Cache and locks for Nextcloud optimization

Jellyfin

running

Media server for personal streaming

Fail2Ban

running

Protection against brute-force attacks (SSH, Nextcloud)

> ls /srv

/srv
├── docker/
│   ├── nextcloud/
│   ├── mariadb/
│   ├── pihole/
│   ├── monitoring/
│   └── jellyfin/
├── data/
└── backups/

> cat ~/why-self-host.md

Self-hosting means taking back control of your data. A mastered, documented, tested and secured architecture.

> cat ~/roadmap.md

Evolution: Second Pi dedicated to AI

  • ▸ AI APIs & Notebooks
  • ▸ MLOps Pipelines
  • ▸ Edge AI (Hailo)
  _____  _____ _____
 |  __ \|  __ \_   _|
 | |__) | |__) || |
 |  _  /|  ___/ | |
 | | \ \| |    _| |_
 |_|  \_\_|   |_____|

Self-hosted on Raspberry Pi 5

~/links

$ echo "Made with passion"

© 2026 Abdel Touati