Run the script from this post in order to set up NFS:
curl -sL https://gist.githubusercontent.com/seanhandley/7dad300420e5f8f02e7243b7651c6657/raw/fdd77fe66cf9ce893fa0175d735cbede2bb065e4/setup_native_nfs_docker_osx.sh >/tmp/setup_native_nfs_docker_osx.sh
bash /tmp/setup_native_nfs_docker_osx.sh
rm /tmp/setup_native_nfs_docker_osx.sh
Copy the supplied docker-compose.override.yml
to your project directory. Adjust the version (version
), service name (app
) and the app path (/usr/src/app
) according to the app service definition in your existing docker-compose.yml
.