The defaults are set so that the volumes remains the same but if you want to set a path to mount instead you can set that in environment variables and not use volumes
The postgres password is parameterised in the database URL but not on the database so I added a variable for it on the database container.