One server at home runs this website, a media library, home automation, game servers and private AI models.
It also has its own sign-in system, monitoring and encrypted off-site backups.
I designed, built and maintain every part of it. This page shows what each piece does and how I built it.
A Proxmox hypervisor runs an Ubuntu VM, and every service in that VM runs in Docker.
Public traffic comes in through Cloudflare and one reverse proxy, and no app is exposed directly.
Admin tools, the GPU desktop and the off-site backup Pi are connected over a private Tailscale network,
so they need no open ports at all.
Public HTTPS request path Private Tailscale links Storage
The Hub · www.ryangray.online
One front door for everything
With 15 apps, three domains and a mix of login systems, the server would be awkward to use day to day.
www.ryangray.online brings it together: one sign-in with two-factor, one page that links every service,
and admin tools that appear only for the people allowed to use them.
www.ryangray.online
Screenshot to addPictures/Homelab/hub.pngThe hub home page, signed in.
Unlocked by the hub sign-in
Live cameracam.
Traffic analyticsstats.
Server data dashboardadmin
User admin & 2FA resetsadmin
Private pages on ryanpgray.comsame users
ryangray.online
Hub page + my sign-in service
Password + authenticator-app 2FA
One cookie for every subdomain
Admin-only tiles and routes
“Sign out everywhere” in one click
Linked from the hub
Plex · Home Assistant
Vaultwarden · AI Chat
AMP · Minecrafttap to copy IP
Uptime Kuma · Proxy Manager
Proxmox · Pi-hole · Tailscale
Solid lines: protected by the hub's sign-in. Dashed lines: linked apps that keep their own login.
request flow · cam.ryangray.online
# a signed-in visitor opens the cameraGET https://cam.ryangray.online/
→ Cloudflare → Nginx Proxy Manager
→auth_request# nginx asks the sign-in service
cookie HMAC ok · session version current
204 No Content# allowed→ camera page →200 live video
# no cookie, or it was revoked401→ sent to the hub sign-in page
password → 6-digit code → back to the camera
# admin-only routes ask a stricter questionauth_request /verify/admin →204 or refused
Custom-built · PythonLive
The sign-in service behind it
About 750 lines of Python (Flask on Waitress) that every protected site checks before letting a request through. Each nginx front end asks it one yes-or-no question per request, so no app has to manage logins itself.
How it's built
Passwords are hashed with Argon2. Older hashes are upgraded automatically the next time someone signs in, and unknown usernames still run a dummy hash check, so response timing doesn't reveal which accounts exist.
TOTP two-factor setup uses a QR code, plus one-time recovery codes that are stored only as hashes.
Sessions are HMAC-SHA256-signed cookies (Secure, HttpOnly, SameSite) scoped to the whole domain, so a single sign-in covers every subdomain. Each user has a session version: changing the password or choosing “sign out other devices” bumps it, which revokes every existing session instantly.
A separate /verify/admin check protects the data dashboard and the admin console. The hub page asks /account/me and shows admin tiles only to admins.
The header is a small pixel-art canvas of the homelab. The sky follows the time of day, and the rack lights, the Pi, packets on the cable and the cat all animate. Animation is turned off for visitors who ask for reduced motion.
PythonFlaskArgon2TOTPHMACnginx auth_requestCanvas
Edge & Security
One way in, and it's locked
Every public request goes through the same checkpoints: Cloudflare, one reverse proxy, then the hub's sign-in service. Web apps listen only on 127.0.0.1, the home network or internal Docker networks, so none of them can be reached directly from the internet.
stats.ryangray.online
Screenshot to addPictures/Homelab/goaccess.pngThe GoAccess traffic dashboard.
Reverse proxyLive
Cloudflare + Nginx Proxy Manager
Three domains (ryanpgray.com, ryangray.online and a game-server domain) and about a dozen subdomains all come in on one HTTPS entry point. That entry point routes each hostname to the right container.
How it's built
Cloudflare handles DNS and DDoS protection. Nginx Proxy Manager holds the Let's Encrypt certificates and routes each host.
Web containers publish only to 127.0.0.1 or the home network, so the proxy is the only public way in.
Every Cloudflare IP range is listed in set_real_ip_from, so rate limits and logs see each visitor's real IP address instead of Cloudflare's.
GoAccess reads the proxy logs and shows live traffic analytics on a page behind the sign-in.
CloudflareNginxLet's EncryptGoAccess
vault.ryangray.online
Screenshot to addPictures/Homelab/vaultwarden.pngThe vault's login page, or the vault with item names blurred.
Password managerLive
Vaultwarden, Tailscale & Pi-hole
The private-infrastructure layer: a self-hosted password manager that works with the Bitwarden apps, a zero-config VPN mesh joining every machine, and network-wide DNS ad blocking.
How it's built
Vaultwarden has its own backup container that writes an encrypted export every night and keeps the last five.
Tailscale gives each machine a stable private address. The GPU desktop, the Pis and the admin tools talk over WireGuard tunnels, with no port forwarding needed.
Pi-hole blocks ads and trackers for every device on the network at the DNS level.
VaultwardenTailscale / WireGuardPi-hole
Web
This website, self-hosted
The page you're reading is served from the same server. Pushing to GitHub publishes it, nginx hardens it, and a local AI model answers questions about it.
www.ryanpgray.com
Screenshot to addPictures/Homelab/website.pngThe home page of ryanpgray.com.
Portfolio siteLive
ryanpgray.com
My résumé, IT notes, process handbooks and the Excel/VBA tools I've built. Public pages are open to everyone. Internal handbooks and downloads need a sign-in.
How it's built
Git-driven deploys: a cron job runs a fast-forward-only git pull every 5 minutes, guarded by flock so runs never overlap. Merging to main is how I publish.
Hardened nginx: a strict Content-Security-Policy plus HSTS, COOP and Permissions-Policy headers, no version banner, and .git blocked.
The sign-in link is added by nginx sub_filter as each page is served, so the source in Git stays clean.
Static files are revalidated on every request (no-cache + ETag), so a deploy never mixes old and new files.
HTML / CSS / JSnginxGitcronCSP
www.ryanpgray.com/Handbook
Screenshot to addPictures/Homelab/ask.pngA handbook page with the “Ask the handbook” chat open and an answer streaming in.
Custom-built · AILive
“Ask the handbook”
A chat box on the handbook pages. Signed-in readers can ask a question in plain English and get an answer drawn from the handbook text. It runs on my own GPU, not a paid API.
How it's built
A small API container reads the live site files and gives the relevant handbook sections to a local LLM as context.
Answers stream token by token. Buffering is turned off at both proxy layers, so text appears immediately.
The model runs on the RTX 4090 desktop. If that machine is asleep, a relay wakes it with Wake-on-LAN and holds the request until it's ready.
Sign-in only, rate-limited per visitor, and a 👎 button logs bad answers to JSONL so I can improve it.
PythonLLM / RAGStreamingOllama
Media & Home
Everyday services for the household
The apps family and friends actually use: movies and shows, smart-home control, a live camera, and game servers.
plex.ryangray.online
Screenshot to addPictures/Homelab/plex.jpgThe Plex home screen with the Movies and Shows rows. The dashboard's transcoding view also works well.
Representative image: the Plex app (plex.tv).
Media serverLive
Plex Media Server
A streaming library of movies, shows, anime, music, audiobooks and photos for TVs, phones and browsers, at home or away.
How it's built
The RTX 2070 is passed through to the VM, and Docker's NVIDIA runtime gives Plex hardware (NVENC) transcoding.
The libraries live on the mirrored RAID and are mounted into the container. Watch history and library stats are copied into my Oracle database every hour.
The Plex folders are marked as protected paths, so the automatic file sorter can never move them.
PlexNVIDIA runtimeGPU passthrough
home.ryangray.online
Screenshot to addPictures/Homelab/homeassistant.pngThe main Home Assistant dashboard.
Representative image: Home Assistant's official live demo.
Home automationLive
Home Assistant
The local control center for smart-home devices, automations and dashboards. Everything runs at home, so nothing depends on a vendor's cloud.
How it's built
I moved it from a one-off docker run command to a Docker Compose file, keeping the same mounts, network and privileges, so the setup is written down and repeatable.
The image version is pinned, so upgrades happen when I choose rather than automatically.
Home AssistantDocker Compose
cam.ryangray.online
Screenshot to addPictures/Homelab/camera.jpgThe camera page playing, ideally with the stats overlay showing latency.
My camera client, showing a sample image in place of the live feed.
Custom-built · VideoLive
Pi Camera Live
A live camera view in the browser with about 150–300 ms of delay on the local network. Any number of people can watch without putting extra load on the Pi.
How it's built
The Pi encodes 1080p30 H.264 in hardware at 6 Mbps and serves it once, over RTSP/TCP, to a MediaMTX relay on the server.
The relay sends WebRTC to browsers. The custom web client sets the jitter buffer to zero for the lowest possible delay.
A keyframe every second means new viewers see the picture almost instantly. Sending over TCP between Pi and server prevents the smearing that lost packets cause.
Raspberry PiMediaMTXWebRTCRTSPJavaScript
www.thecaveamp.space
Screenshot to addPictures/Homelab/amp.jpgThe AMP instances list showing the Minecraft and Project Zomboid servers running.
Representative image: some of the games AMP can host (CubeCoders).
Game hostingLive
Game servers (CubeCoders AMP)
Minecraft and Project Zomboid servers for friends, managed from one web panel with start/stop controls, consoles, scheduled tasks and backups.
How it's built
Each game server runs as its own isolated container, with its world data on the RAID.
A collector reads the Minecraft logs and records player joins and leaves in Oracle, so I can see who plays and how often.
AMPMinecraftProject ZomboidDocker
Local AI
Private language models on my own hardware
A ChatGPT-style interface backed by two GPUs. Prompts and documents never leave the house.
ai.ryangray.online
Screenshot to addPictures/Homelab/openwebui.pngOpen WebUI in the middle of a chat, with the model picker showing both machines.
Representative image: Open WebUI's official demo.
Self-hosted AILive
Open WebUI + Ollama across two GPUs
Chat, document Q&A and coding help from open-weight models. The big model runs on a 24 GB RTX 4090, and smaller models run on the server's own RTX 2070.
How it's built
The main model is a 27-billion-parameter model with a 64k-token context window. I sized it to fit entirely in VRAM and benchmarked it at about 85 tokens/second.
Wake-on-demand relay: the 4090 desktop sleeps when idle. A small proxy wakes it through a Raspberry Pi (Wake-on-LAN) and holds the request until the GPU is ready.
The server's own GPU keeps smaller models loaded, so quick questions get an answer immediately.
The same models also power the handbook assistant and a local coding agent in the terminal.
Open WebUIOllamaCUDAWake-on-LANTailscale
Data
The server keeps records of itself
I built a database that the server fills with data about its own files, media, performance, backups and players, and a dashboard to explore it. It now runs on Oracle, set up the way the retail systems I use at work are.
SQL Developer Web · SERVERDB
Screenshot
The analyst's view: SERVERDB objects through synonyms, querying a reporting view.
Lab project · OracleLive
Oracle Retail Lab
I moved this database from PostgreSQL to Oracle AI Database 26ai Free to imitate how the Oracle-based retail systems at work operate. The goal is to understand what sits underneath the screens I use every day and to build a stronger foundation in professionally run retail systems.
How it's built
Laid out the way retail installs are: data and index tablespaces, a schema-only owner nobody can sign in as, and batch, dashboard and analyst accounts that reach it through roles and synonyms.
PL/SQL written to retail conventions (JOB_RUN_SQL, BOOLEAN functions, O_error_message), Y/N indicators, V_ reporting views, a staging table and monthly interval partitions.
All 380,908 rows migrated and reconciled on counts and checksums, with PostgreSQL kept for rollback. A nightly DBMS_SCHEDULER job runs a Data Pump export into the encrypted off-site backups.
Screenshot to addPictures/Homelab/data.pngThe /data dashboard with the CPU/RAM charts and backup status in view.
Custom-built · SQLLive
serverdb: the server's own records
One place to answer questions like “what's filling the disk?”, “did last night's backup run?”, “which container is using the RAM?” or “who played on the server this week?”
How it's built
An Oracle AI Database 26ai schema with 15 tables, 16 reporting views and a PL/SQL batch package. It holds 344k catalogued files and was migrated from PostgreSQL 17 with every table reconciled.
A Python collector runs scheduled jobs: host and container stats every 5 minutes, backups and games every 15, Plex hourly, and a full file scan nightly. Every run is logged through the JOB_RUN_SQL package.
The dashboard's API signs in with a read-only account and sits only on an internal Docker network. It's never published to the internet.
The dashboard is admin-only, checked through the same sign-on service.
Oracle 26aiSQLPythonREST / JSONCharts
raid-sorter — sort.log
# example run · cron every minute · files must sit untouched 2 min$python3 sorter.py --dry-runInbox/Resume 2026.pdf → Documents/Career/
Inbox/W-2 2025.pdf → Documents/Finance/
Inbox/bracket-v3.stl → Projects/3D Modeling/
Inbox/setup-v2.4.exe → Software/Installers/
Inbox/old-photos.zip → Archive/Zips/
Inbox/mystery.bin →Inbox/_Review/# never touched: Plex/ AMP1/ server-backups/ vaultwarden-backups/
Custom-built · AutomationLive
RAID auto-sorter
Drop anything into the shared Inbox from any PC on the network, and within a minute it's filed into the right folder. Anything the sorter can't classify goes to a review folder instead of being guessed.
How it's built
A Python script on cron with a file lock, so overlapping runs are impossible.
A “settle” timer skips anything modified in the last 2 minutes, so files still being copied are left alone.
Folders that apps depend on (Plex, game servers, backups) are on a protected list. There's a --dry-run mode, every move is logged, and I wrote an undo script for the one-time reorganisation.
The sorter's log is loaded into the Oracle database, so every file move can be searched.
PythoncronSambamdadm RAID 1
Vehicle Telemetry
A live dashboard for my truck
A full-stack project I built end to end for my 2016 Tacoma. A native iOS app I wrote myself in Xcode reads the truck's OBD-II port over Bluetooth and streams the data to a server I wrote. It shows engine health and a GPS map live, turns every drive into a report with a route map, and keeps the truck's diagnostic scans, maintenance schedule and fuel log in one place. All screenshots below use demo data on a made-up route.
taco.ryangray.online
Screenshot
The live view while driving (demo data): three temperature gauges, speed and RPM, sensor tiles grouped by system, and a GPS map of the last 15 minutes.
Custom-built · Full-stackLive
Tacoma Log: live OBD-II telemetry
A web dashboard for a 2016 Tacoma. It shows transmission pan, torque-converter and coolant temperatures, speed, RPM, battery, fuel level, fuel trims and 30+ other readings, plus the truck's position on a map, updating every few seconds while the truck is running.
How it's built
A native iOS app I built myself in Xcode reads OBD-II PIDs from a Bluetooth dongle in the truck, adds the phone's GPS, and POSTs them as JSON batches to a Python (FastAPI) server. Retries are safe: duplicate readings are ignored, and custom gauges defined in the app are stored and charted too.
The server stores everything in SQLite and groups samples into trips automatically. When I add new readings, it migrates its own schema on startup, taking a backup first.
The dashboard is vanilla JavaScript with uPlot charts and Leaflet maps on OpenStreetMap. There's no build step, and the libraries and fonts are bundled locally so nothing loads from a CDN.
It runs as a Docker container bound to a private Tailscale address, and is published over HTTPS at taco.ryangray.online through the same Nginx reverse proxy and wildcard certificate as the rest of the lab.
A single trip (demo data on a made-up route): summary stats, the route colored by speed, and the speed/RPM trace.
Custom-built · AnalysisLive
Trip reports, route maps and drift alerts
Every drive becomes a report: a route map you can color by speed or transmission temperature, distance, average and max speed, warm-up curves, estimated fuel and MPG, and a health check that watches for problems developing over time.
How it's built
Distance comes from integrating speed over time; fuel and MPG are estimated from the mass-airflow sensor (air ÷ 14.7 = fuel grams, ÷ 2819 g/gal).
An alert engine uses Toyota temperature specs: it flags an overheating transmission pan or torque converter, a hot engine, a battery that stays low for 10 seconds, or fuel trims past ±15% for over a minute, so a one-off spike doesn't cry wolf.
A “drift watch” rolls one point per driving day into trend lines, flagging slow changes (fuel trims, start-up voltage, MPG) that can reveal a developing problem before it strands me.
A small admin tool lists and prunes trips, scans and fill-ups and takes backups, and each trip's raw data exports to CSV.
PythonTime-seriesuPlotLeafletOBD-IICSV export
taco.ryangray.online/#/health
Screenshot
The Health page (demo data): check-engine light, trouble codes, readiness monitors, misfire counts per cylinder, and a scan history that highlights codes as they appear and clear.
Custom-built · DiagnosticsLive
Health scans and maintenance
Each time the app connects, it runs a diagnostic scan and sends the results along with my maintenance schedule. The dashboard shows the truck's current health and what's coming due.
How it's built
A separate health-snapshot API stores every scan as history: check-engine light, stored, pending and permanent codes, freeze-frame data, emissions readiness monitors and per-cylinder misfire counts.
The “current” view merges the newest value of each field across scans, so a partial scan never blanks out earlier data. The history table shows when each code appeared and cleared.
The Maintenance page works out miles left on each item (oil, filters, fluids, plugs) from the odometer and turns amber under 15% of the interval and red when overdue.
OBD-IIDTCsFastAPISQLiteJSON
taco.ryangray.online/#/fuel
Screenshot
The Fuel page (demo data): price per gallon over time, real MPG against the airflow-sensor estimate, and every fill-up.
Custom-built · AnalysisLive
Fuel log: real vs. estimated MPG
Fill-ups logged in the app sync to the server, which tracks price, spend and real-world MPG, and checks the sensor-based estimate against reality.
How it's built
Real MPG = miles between consecutive fill-up odometer readings ÷ gallons at the later fill.
For the same window, it adds up the MAF-based fuel estimate from every trip logged between the two fill-ups, so I can see how accurate the in-app MPG is and how many of the miles were actually logged.
Fill-up sync is idempotent on the app's record ID: a resend is ignored, and an edited fill-up updates its row.
PythonuPlotIdempotent APISQLite
Personal project · Raspberry Pi
A desk display I built from scratch
A small portrait HDMI screen on my desk, run by a Raspberry Pi 5 in a Pironman 5 case. It rotates through 20+ scenes I designed and coded myself in pixel art, showing the things I'd otherwise check my phone for, and it's linked to my Spotify account so whatever I'm playing takes over the screen. On game nights it becomes a live scoreboard for the Norfolk Admirals and the NHL. Every screen below is a real render from the code (some with cached data).
deskdisplay · 480×640 HDMI
Screenshot
Clock & weather, tonight's NHL scoreboard, the city skyline that follows the real sun, moon and weather, and the aquarium.
Custom-built · PythonRunning 24/7
What it is
A glanceable dashboard that cycles on its own: time and weather, an hourly forecast, an animated radar loop, National Weather Service alerts (which cut in the moment one is issued), my calendar, Spotify now playing, Norfolk Admirals and NHL scores and standings, news headlines, stocks, the Pi's own power draw and cost, and Pi-hole stats. Between those it shows idle scenes: an aquarium, a fireplace, a lava lamp, a starfield, Game of Life, Matrix rain and a Tetris game that plays itself.
How it's built
About 7,000 lines of Python using pygame, with a hand-made pixel font and icon set. It draws straight to the screen through KMS or the Linux framebuffer (/dev/fb0), so the Pi runs Raspberry Pi OS Lite with no desktop at all.
Each scene is a small class with update() and draw() methods registered in one place, so adding a new screen is one file. The rotation order and timing live in a TOML config; a scene with nothing to show (nothing playing, no game tonight) is skipped, and night hours show only a dimmed clock.
The same code renders any scene headless to a PNG (--shot) or in a desktop window, which is how I develop on my laptop and how the screenshots on this page were made.
PythonpygameRaspberry Pi 5Linux framebufferTOMLPixel art
deskdisplay · live data scenes
Screenshot
Hourly forecast, live headlines from several feeds, an Admirals box score with the ECHL ticker, and NHL standings with playoff spots marked.
Data · APIsLive
How it gets its data
Every live scene pulls from a free public API. The trick is keeping the network away from the animation, so the screen stays smooth even when a service is slow or the internet is down.
How it works
Each data source runs in its own background poller thread on its own schedule. The drawing loop only reads the latest result, so a slow API never freezes the screen.
Pollers cache their last good data to disk. After a reboot without internet the display starts from that cache and marks it “offline – as of” instead of going blank.
Sources: Open-Meteo (weather), NWS (alerts), RainViewer over OpenStreetMap tiles (radar), the NHL and HockeyTech feeds (scores, goal alerts, standings), RSS/Atom news feeds, Yahoo Finance quotes, the Spotify Web API with OAuth, and private iCal links I parse myself.
The power scene reads the Pi 5's own power chip for per-rail volts, amps and watts and turns it into a cost per day, month and year.
ThreadsREST / JSONOAuth 2.0RSSiCalCaching
deskdisplay · now playing
Screenshot
Now Playing with a demo track and a generated cover: blurred backdrop and visualizer colors are pulled from the artwork.
Integration · Spotify Web APILive
Connected to my Spotify
The display is linked to my Spotify account. Whenever something starts playing on any of my devices, it cuts straight to a Now Playing screen with the cover art, track, artist, album and a live progress bar. When nothing is playing, it shows a wall of my recently played album covers instead.
How it's built
I registered my own app in the Spotify developer dashboard and wrote the OAuth 2.0 authorization-code flow myself: a one-time sign-in (from a small script or the phone remote) trades the code for a refresh token, and the display renews its access token on its own from then on.
It asks only for read-only scopes (currently playing, playback state, recently played), so it can never control playback or change my account. The token stays on the Pi.
A background poller checks the currently-playing endpoint every few seconds; a new track ID triggers the takeover, and podcasts are handled as well as songs. Recently played covers refresh every few minutes and fade in tile by tile.
The cover art is downloaded once per track, scaled, and blurred into the background, and its most colorful pixels become the visualizer palette. Spotify doesn't share the audio itself, so the bars are animated to a beat rather than measured.
Spotify Web APIOAuth 2.0Refresh tokensREST / JSONImage processing
deskdisplay · live hockey
Screenshot
Admirals box score with the scrolling goal ticker, the goal alert (replayed on cached game data), tonight's NHL scoreboard, and ECHL standings with Norfolk highlighted.
Live data · Sports feedsLive
Live hockey feed
A live scoreboard for my local team, the Norfolk Admirals (ECHL), and for the whole NHL. On game day it counts down to puck drop, then shows the live score, period and clock, shots on goal and a scrolling ticker of every goal with its scorer and assists. When the Admirals score, a big “ADMIRALS GOAL!” alert flashes across the screen. After the final horn it switches to a box score with goalies, power plays and the three stars, plus ECHL and NHL standings with playoff spots marked.
How it works
The ECHL data comes from HockeyTech, the stats platform behind the league's own site: a scorebar of games three days back and three weeks ahead, a per-game summary (goals, power-play and empty-net flags, shots by period, goalie saves) and conference standings. The NHL side uses the league's public api-web.nhle.com scoreboard and standings, which need no key.
Each feed has its own background poller that refreshes every 30 seconds, and logos are downloaded once and cached. The scene detects a goal by comparing each new score with the last one it saw; when it goes up, it triggers the alert and works out which team scored.
At puck drop and on every goal the hockey scene takes over the screen, and while the Admirals are live it holds the screen instead of rotating (a weather warning can still cut in). The NHL board lists my team first and does the same for its goals, but it yields to the Admirals: no NHL cut-ins on Admirals nights until their game is final.
The team, league and when to show it (live only, all game day, or always) are set in the config, so it works for any ECHL or NHL team.
The phone remote: pin a scene, cycle, or switch scenes in and out of the rotation.
Control · NetworkingLive
Phone remote, Wi-Fi and Pi-hole
There's no keyboard on my desk for it, so everything is managed from my phone or a mouse: click anywhere on the screen for an on-screen menu, or open the Pi's address on port 8080.
How it works
The remote is a small web app on Python's built-in HTTP server, with no framework. It's locked with a PIN shown on the display, a long-lived session cookie, and a lockout after five wrong tries, and it switches itself off on networks I haven't approved.
From it I pin or cycle scenes, edit stock holdings, paste calendar links, connect Spotify, set the case lights and fans, manage Wi-Fi, and run Pi-hole. There's also a tiny JSON API (/api, /pin/<scene>, /next) so scripts can drive it.
Wi-Fi goes through NetworkManager (nmcli) and supports home, open and WPA2-Enterprise networks, so it works at work too. If no saved network is in range, the Pi starts its own setup hotspot so I can join it from my phone and pick a network.
Pi-hole runs next to it in Docker Compose as the network ad blocker; the display shows its stats and can pause blocking, update blocklists or allow a blocked site.
The display itself runs as a systemd service installed by one script, restarts on failure, and runs as a normal user with only the video, render and input groups.
Idle scenes between the data screens: fireplace, self-playing Tetris, lava lamp and Matrix rain.
Pixel art · AnimationLive
The fun part
The idle scenes are all generated in code, not videos or images, and each one was a small programming problem of its own.
How it's built
Tetris plays itself: for every new piece it tries each rotation and column and scores the board it would leave on stack height, covered holes and bumpiness, then plays the best move.
The city skyline moves from day to night with the real sunrise and sunset, and shows rain on the window, snow or lightning from the live weather.
Game of Life, the fireplace, lava lamp and Matrix rain are frame-by-frame simulations, sized so they run smoothly even on a Pi Zero 2 W.
AlgorithmsSimulationAnimationPixel art
Reliability
Backed up, monitored, kept up to date
Most of the work in running a server comes after it's built. The server checks itself, backs itself up off-site, and tells me when something changes.
kuma.ryangray.online
Screenshot to addPictures/Homelab/kuma.jpgThe Uptime Kuma dashboard with every monitor green and the uptime bars visible.
Live up/down monitoring for every service, plus a storage watchdog that catches disk problems before they turn into data loss.
How it's built
HTTP and port checks for each service, with alerts sent on failure.
A Bash health check runs every 5 minutes. It flags a degraded or rebuilding RAID, missing mounts, disks over 90% full, and a failed write test (which catches a disk that has silently gone read-only).
It uses push heartbeats: if the check itself stops running, the missing heartbeat raises an alert too.
Uptime KumaBashmdadmAlerting
backup pipeline
# nightly, all encrypted at rest00:00 vaultwarden-backup → RAID (encrypted export, keep 5)01:00 restic: app data → RAID (deduplicated snapshots)---- Proxmox: VM image → RAID
---- off-site Pi ← rsync over Tailscale
✓3 copieslive data · RAID 1 mirror · off-site Pi✓2 kinds of storage✓1 off-site✓results recorded in Oracle(BACKUP_RUN)
Disaster recoveryLive
Encrypted backups, 3-2-1
If a disk, the VM or the whole house is lost, everything can be restored: app configs, databases, the password vault and the VM itself.
How it's built
restic takes encrypted, deduplicated snapshots of every app's data each night at 01:00. The game-server data is included.
An off-site Raspberry Pi pulls the backup folder over Tailscale with rsync. The Pi pulls rather than the server pushing, so a compromised server can't reach out and delete the off-site copy.
Proxmox backs up the whole VM, and the collector records each backup's result in the Oracle database. That database is exported nightly with Data Pump into the same backups.
resticrsyncProxmox BackupEncryption
proxmox.ryangray.online
Screenshot to addPictures/Homelab/proxmox.pngThe Proxmox node summary (CPU/RAM graphs) or the VM's hardware tab showing the GPU passthrough.
Representative image: Proxmox VE documentation.
Virtualization & updatesLive
Proxmox VE & automated updates
The hypervisor underneath everything, plus an update pipeline that keeps services current without surprises.
How it's built
The mdadm RAID 1 lives on the host and is shared into the VM over virtiofs. The GPU is passed through with PCIe passthrough.
Watchtower auto-updates only the containers I've chosen, and emails only when an update fails. Critical services stay pinned to a version.
Diun emails when a newer image is available. A small service I wrote emails “old → new version” with the GitHub release notes whenever a container changes.
Proxmox VEKVMvirtiofsWatchtowerDiun
Engineering principles
How I approach it
These are the same habits I bring to work: written down, least privilege, and assume things will break.
Everything as code
Every service is a Docker Compose file with comments explaining why. Before each change I keep a dated backup copy, so any change can be rolled back.
Least privilege
Apps listen on localhost or the home network only, mounts are read-only wherever possible, the dashboard uses a read-only database role, and internal APIs are never published.
Defense in depth
Cloudflare, then one proxy, then 2FA single sign-on, then a strict CSP and security headers, then per-visitor rate limits. No single layer is trusted on its own.
Fail loudly
Push-heartbeat monitoring means a check that silently stops running still raises an alert. Every collector run is logged with its status.
Plan for recovery
3-2-1 encrypted backups, an off-site copy that the server can't delete, and each backup's result recorded so a silent failure gets noticed.
Document for the next person
READMEs, run-books and inline notes like “locked out? run this” mean someone else could pick it up. That someone is usually me, six months later.
Build log
How it came together
The server has grown in steps, each one building on the last.
Proxmox host, mirrored RAID and the Docker VM
Set up virtualization, an mdadm RAID 1 for the data, GPU passthrough, and the first services: Plex, Home Assistant, Vaultwarden and the game servers.
Single sign-on and the hub
Wrote the password + TOTP sign-in service and put the camera, analytics and admin tools behind it through nginx auth_request.
Self-hosting ryanpgray.com
Moved the site from GitHub Pages to the server with Git-driven deploys, then added the security headers, a CSP and sign-in-only pages.
Backups, monitoring and update emails
Added the restic pipeline with the off-site Pi copy, storage health checks pushing to Uptime Kuma, and version-change emails with release notes.
“Ask the handbook” and local AI
Built the handbook assistant on a self-hosted LLM, plus the Wake-on-LAN relay so the GPU desktop only runs when it's needed.
serverdb, the data dashboard and the RAID auto-sorter
Built a PostgreSQL database that the server fills about itself, an admin dashboard on top of it, and automatic filing for the shared drive.
Oracle Retail Lab
Migrated serverdb to Oracle AI Database 26ai Free, built like the retail systems at work: tablespaces, a schema-only owner, roles and synonyms, PL/SQL batch packages, scheduled Data Pump exports. Read the guide.
Desk Display
Built a Raspberry Pi 5 desk screen in Python and pygame with 20+ pixel-art scenes, a Spotify Now Playing integration, a live Admirals and NHL hockey feed with goal alerts, a PIN-locked phone remote, Wi-Fi management with a fallback hotspot, and Pi-hole running beside it. See how it works.
Tech stack
Tools & technologies
The tools and technologies used across the server.
Infrastructure
Proxmox VEKVMUbuntu 24.04DockerComposemdadmvirtiofsSambaNVIDIA CUDA