Nginx Docker Volumes empty

When using docker-compose, nginx isn’t showing files like other images might. For example with Mysql, the below code will save the data created at /var/lib/mysql to the local machine at ./volumes/db/…