There is currently not a way that environment variables are read from the .env file which the docker-compose.yml file uses.
You have to manually set the environment variables in e.g. your IDE