Checkout their documentation
From the looks of it you could do the following on your docker-compose.yml
volumes:
- ./:/app
Where ./
is the host directory, and /app
is the target directory for the containers.
EDIT:
Previous documentation source now leads to version history, you’ll have to select the version of compose you’re using and look for the reference.
Side note: Syntax remains the same for all versions as of this edit