Put database config in environment variables