Notes
What I learn each day goes in the journal; knowledge that stands on its own goes in the commonplace book.
TOPICS
Topics
12 notes
LATEST
Latest
- 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.
- Writing server setup scripts in bashStrict mode, quoting traps, idempotency, waiting with timeouts, apt locks, and catching mistakes in CI.
- Automatic HTTPS with CaddyLet’s Encrypt, the ACME protocol, and a Caddyfile that gets and renews certificates by itself.
- DNS: A records and TTLHow a domain name finds a server, what TTL means, and how to check propagation.
- 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.