Bug #50898 introduced the ability to use an .env file for docker compose. It should be documented how app developers can use this feature.
The ini file variable is called `DockerInjectEnvFile`.