Original work here, #18474, refixed and updated.
Users can define the root user and password in the yaml configuration file; Root credentials defined in the environment variable still take precedence