Allows database name, user and password to be configured via env variables.