All projects

Self-hosted server

A Debian server I run and maintain myself. This site lives on it.

Live from the server

This panel reads a small status file that a systemd timer on the server rewrites every minute.

Load (1 min)…
Memory in use…
Disk in use…
Certificate valid for…

Services

    Timers, last run

      What it is

      A rented virtual server running Debian 13. It hosts this portfolio, the analytics for it, the photo storage and background jobs for the travel app, a few small private apps and a Minecraft server for friends.

      Everything on it I set up and keep running myself: the web server, certificates, services, backups of configs before I change them.

      How it works

      nginx sits in front of everything and terminates HTTPS with Let's Encrypt certificates that renew on their own. Behind it are static sites, a small login service I wrote, and apps in Docker.

      Background work runs as systemd services and timers instead of cron, so each job has its own logs, restarts and dependencies.

      InternetHTTPS on port 443
      Front doornginx · Let's Encrypt
      Sites and appsThis portfolio (static)Umami stats (Docker + PostgreSQL) Travel app photos (WebDAV upload)Small private apps (Python)
      Background (systemd)Video converter (path unit + ffmpeg)Push sender Nightly cleanupCertificate renewal
      GamesMinecraft in Docker (Crafty) · own mod ports

      Highlights

      • Video converter for the travel app: a systemd path unit starts it the moment a video is uploaded, with a timer as a safety net. It converts to 720p with ffmpeg and reports progress, so the app can show a real progress bar.
      • A nightly cleanup job removes photo files that no longer belong to any post. It does nothing when the database cannot be reached, and leaves files younger than six hours alone in case an upload is still busy.
      • Privacy-friendly visitor statistics with Umami and PostgreSQL in Docker, only reachable through nginx.
      • The Minecraft server runs in Docker under Crafty. I ported several mods to a new game version myself (Java, Gradle, Fabric).

      What was hard

      Getting deletes right: the first version removed the database row first and silently ignored failed file deletes, which left dozens of orphaned files. Now files go first, and the row only goes when every file is gone.

      Uploads go straight to nginx with WebDAV, checked against a per-user key. Making that safe without a separate backend took some careful nginx config.

      Stack and status

      RunningDebiannginxsystemdDockerLet's EncryptPythonBashJava