I would rather have the db data in a directory of the project folder
I've learned this from the Jitsi config that you don't have to add a variable if the key name is the same in the compose file as it is in the .env file