#docker-compose
6 notes · ← All notes
- RabbitMQ: running one in a container, with certificate loginHow the real broker behind /rabbitmq?mode=real is set up: config in conf.d, users and queues from definitions.json, password hashes made with openssl, EXTERNAL login by certificate name, a memory cap, and ports only on localhost.
- 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.
- 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.
- MySQL in a containerRunning MySQL with Docker Compose on a small server: first-start initialization, memory tuning, migrations, and how an app should behave when the database is away.