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 ...
And you don't have to deal with paywalled services, either ...
A collection of tips and tricks that leveled up my Docker Compose game ...