Currently the docker-compose.yml by default will mount the volumes declared in .env file. This proves to be useful for development mode. However for deployment mode, this becomes redundant and unnecessarily pollute the filesystem. Based on docker/compose#3979, it seems that we can have a separate file e.g docker-compose.dev.yml that extends the default compose file. We can mount the volumes in this extended compose file instead.