I think Docker and Compose are definitely the way to go. We have projects that require different services (frontend, backend, Postgres, Redis, Elasticsearch, etc.) that compose a whole system. Before Docker/Compose we were running these on our local machines and struggled with juggling different versions for different projects.
Docker provides the benefit of being able to spin up environments specific to the needs of a specific project without polluting your local system. You also don't have to worry about the nuances of getting a certain package installed as most of the images on Docker Hub take care of that for you.
Also, if you're working with other people then Docker/Compose will make getting everyone up and running way easier. Rather than making sure everyone has every dependency properly installed/compiled/configured/etc. you can tell them to pull the project off GitHub and docker-compose up and they're off to the races.