The portfolio needed to grow without code edits, while the panel had to be reachable only through an SSH tunnel and the public site needed a minimal attack surface.
Context
The portfolio needed to grow without code edits, while the panel had to be reachable only through an SSH tunnel and the public site needed a minimal attack surface.
Responsibility
Definition of the content model, publishing architecture, container hardening and design of the public and private experience.
Architecture
Static public service on port 40000 and private administration on 127.0.0.1:40001. The administrator generates immutable releases and switches the active release atomically.
Implementation
Go, semantic HTML, modern CSS, progressive JavaScript and Docker Compose. Password-derived authentication, optional TOTP, CSRF protection, secure sessions, data validation and SSRF controls for image imports.
Challenges
Allowing comfortable editing without turning the CMS into a public service or introducing unnecessary dependencies.
Outcomes and lessons
A single self-managed installation with bilingual content, automatic backups, rollback and a fully static public website.
The safest way to protect a public API is not to need one: dynamic content can be turned into static artefacts before publication.
Go
Docker
Linux
Nginx Proxy Manager
Git