~/portfolio $ cat architecture.md

architecture

learned web development, ci/cd, containers, and self-hosting — by building the site you're looking at. here's the structure it ended up with.

git pushastro builddist/ → imagedocker pushcron pull · every 30 mincompose up -dserves :8080tunnel outhttps>_memy laptopcommit → maingithub actionsclean runner · ~57sbuilds the imageastrostatic outputno runtime neededdockermulti-stage imagenginx + dist/ghcrgithub's registry:latest · :sha-<commit>debian vmmy desktopcron: pull + up -dnginxnginx:alpinegzip · cachecloudflarecloudflaredzero open portsinternetvisitorspublic urlthe dashed line is the only link between build and runtime — a broken push can never take the site down
← back to ~/yongrui