Containers are meant to provide component isolation in a modern software stack. Put your database in one container, your web application in another, and they can all be scaled, managed, restarted, and ...
Home Assistant's Apps are the best way to get started.
Maximum value budget homelab.