6 Docker Compose Best Practices for Dev and Prod - ReleaseHub
Docker solves the "but it runs on my machine" problem by introducing containerization. However, with a multifaceted code base, you must simultaneously run several containers like the back and front end. Further, this will require you to leverage tools such as Docker Compose.
https://prod.releasehub.com/blog/6-docker-compose-best-practices-for-dev-and-prod