Convert your YAML file to a file of environment variables.
A package to convert yaml file to exportable environmental variable
Stash environment-specific configs in YAML-files and load them into ENV according to best-practices pattern - and auto-detects on-initialization if something is missing (skipping the "scratching the head"-part).