#docker
5 notes · ← All notes
- 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.
- 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.
- 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.