#deployment
8 notes · ← All notes
- RabbitMQ lab: a second broker on shared partsA RabbitMQ lab at /rabbitmq built like the Kafka one, after first pulling the clock, rewind, story mode and toolbar out of Kafka into shared packages; a real RabbitMQ on the server with certificate login; and guided steps that loop with a draggable bar.
- Kafka day: a simulated lab, a real cluster, and certificatesThe Kafka sub-project in one day: a deterministic simulator at /kafka, a real three-node KRaft cluster on a resized VM, client-certificate logins from the laptop, a build-your-own-Kafka course, and a run of fixes after actually using it.
- Evening: MySQL for visits, a pixel world map, eight languagesThe visitor log moved from Redis to MySQL with pagination and a pixel world map, the language toggle became an eight-language picker, the home page lost its bio, and a MySQL volume that kept its first, empty password.
- shiqi.si goes live: from an empty domain to a running serverOne long day: pick a free student host, create an Azure VM, wire up SSH, DNS, GitHub and CI, fight k3s on 1 GB of RAM, and finally ship with Docker Compose and Caddy.
- Afternoon on the live site: visitor log, two languages, auto-deployA Redis-backed visitor log behind Basic auth, English and Chinese with free machine translation, secrets that deploy themselves, a 35-minute image build cut to 40 seconds, and a CSRF check that broke behind HTTPS.
- Docker Compose on a small VMRunning a web app, Redis and a reverse proxy on 1 GB of RAM: compose.yml, limits, health checks and the everyday commands.
- CI/CD with GitHub Actions and GHCRCheck, build an image, push it to the GitHub Container Registry, deploy over SSH: one workflow file.
- Managing secrets for a small deploymentWhere API keys and passwords should live, how to get them to a server without leaking them, and what to do when one leaks.