set production database access by environment variable