settings: fix environment variables for database connection

Apparently, I can't use things I build.