Docker container to be created in a specific physical machine

I have a test envt where in 1 machine we run docker-compose which triggers 2 containers <1. test container 2. database container>, now our rqmt is when we trigger the compose then test-container should run in same machine and database container should run in another specific machine where we want only 1 docker container to run as this is performance test.