Doing something very similar, hosting a lot of things on a Raspberry Pi 4 with 400 GB SD card.
Dockerizing most things https://github.com/divyenduz/dev-infrastructure
Not as easy though, I still need to figure backup strategy and everything. My goal is to eventually remove photos, and almost everything hosted entirely really.