Updated production database definition to use envvars