Added support for database config defined in environment variable.
Added support for site URL from environment variable in config.