Closed snoyberg closed 6 years ago
I don't have a strong opinion either way. But I would prefer everything to be prefixed.
I would personally prefix all environment variables. This would have two advantages in comparison to only prefixing variables that are likely to be overloaded:
Looks like pretty universal support for prefixing all the variables, I'll make the update.
Alright, changes pushed, closing.
Right now, the environment variables in
config/settings.yml
are unprefixed, e.g.HOST
,PORT
, andSTATIC_DIR
. This has caused issues in at least one place, see https://github.com/yesodweb/yesod/issues/1517. Should we prefix all of the variables with, e.g.YESOD_
? Should we only prefix variables that are likely to be overloaded, likeHOST
andPORT
?CC @rszibele @psibi @StevenXL @bitemyapp