Environmental variable coming back as literal braces
Your config/general.php file code has some problem with it.

You're missing a closing ) for an array, which I suspect is a typo, but the issue to your real problem is probably the fact you're missing the required '*' key for multi-environment configs to work properly.

See the first warning note on this page: https://craftcms.com/docs/multi-environment-configs