Preferred way to migrate docke-compose container with volume

Hi there.

I have a Postgress container running with the help of a docker-compose file. However I am not sure how I should move that container together with it’s volume to a new host? What is the preferred/recommended way of doing that?

Using the doc compose yaml spin it up on the new host.