There is a bug that does not work if you enter a subdomain after PARSOID_DOMAIN_.
For example, when I gave PARSOID_DOMAIN_foo.bar="https://foo.bar/api.php" as the env variable, config.yaml shows nothing after the mwApis: line.
To solve this I had to enter PARSOID_DOMAIN_="https://foo.bar/api.php".