PiStation
A Raspberry Pi homelab that hosts my websites and services, with no ports open to the internet
PiStation is the home infrastructure where I deploy my projects: this portfolio, RetoBox, Soundlift, Blindbox, La Pizarra (F1 and MotoGP timing) and my own services. It is a set of Raspberry Pis with clearly split roles, as in a professional environment.
One Pi for development and testing, one for production that only serves what has already been validated, and a third one for support with monitoring and remote access.
What it does
- Separate environments: development (hot reload and test builds) and production
- Exposed to the internet through Cloudflare Tunnels: no ports open on the router
- Private admin access over Tailscale
- Production never builds: images are published to GitHub Container Registry and the production Pi only pulls
- One Docker Compose stack per service, secrets kept out of the repository and persistent data on SSD
- Uptime monitoring with Uptime Kuma and centralised logs with Dozzle
How it is built
The whole infrastructure is described as code in a repository: one folder per machine and one per stack, each with its compose.yaml. The .env files live in a separate private repository, never in the main one.
Every project has its own repository; the infrastructure one only defines how it is deployed. Tunnels are managed from Cloudflare Zero Trust, so adding a new subdomain never requires touching the router or the local network.
Technologies
- Raspberry Pi
- Docker Compose
- Cloudflare Tunnels
- Tailscale
- GHCR
- Uptime Kuma
- Nginx
Other projects
- Android app Counters Android app to keep count of anything, with history and yearly reports
- Android app Worca Local-first work shift calendar, with shared calendars and reminders
- Web app RetoBox Random challenges for parties and get-togethers, on the web and as an offline Android app
- Android app LiftLog Strength training log with week-based plans, automatic rest timers and personal records
- Android app Isaac Guide Unofficial offline guide to The Binding of Isaac: Repentance, with a single search box
- Android app La Estantería Comic, manga and book reader for Android and Windows: your files, offline, no accounts
- Android app El Puntero Your PC's mouse and keyboard on your phone: gesture touchpad, air mouse and media over Wi-Fi
- Android app El Reproductor Your music on your phone and your PC: what you play most at a tap, offline and with a widget
- Web app Soundlift Playlist downloads at the best available quality, with every track scored and verified
- Web app Blindbox Shared rooms to gather everyone's photos and videos and reveal them together at the end
- Desktop app PC Toolkit Windows utilities with one installer and a manager in the system tray