Fixed database configurations and introduced .env.local.php