Re:Static Sites with Python, uv, Caddy, and Docker
by chrisweekly on Saturday August 23, 2025 @04:35PM
(#44998923)
The author wrote a comment in another thread^1 just a few min before yours.
Also, starting any comment with an unqualified "The best way..." is probably not the best way to engage in meaningful dialog.
Re:Static Sites with Python, uv, Caddy, and Docker
by Spivak on Saturday August 23, 2025 @04:35PM
(#44998929)
The flow where you build the static site into a container in CI, push it to a registry, and then your server watches for changes (watchtower) and runs it behind nginx-proxy is the true lazy solution. Push to your git repo and forget about it. Same config for a huge variety of applications—static and not.
This project seems more like something you'd do to demonstrate your skills with all these tools that do have use in a business/for-profit context working with groups but they have absolutely no use or place hosting a personal static website. Unless you're doing it for kicks and enjoy useless complexity. That's fair. No accounting for taste in recreation.