[💡 FEATURE REQUEST]: Allow defaults in env var expansion of server.env config #1989
Labels
C-feature-accepted
Category: Feature discussed and accepted
help-needed-easy
Call for participation: Experience needed to fix: Easy / not much
Plugin
Server
I have an idea!
The current handling of
server.env
configuration does a plainos.Expand(_, os.Getenv())
. Unlike other parts of the roadrunner config, this doesn't allow for defaults in the form${ENV:-default}
.It would be great to allow defaults, or even go one step further and use https://github.com/drone/envsubst both here and in the general configuration for some more advanced substitution options.
The text was updated successfully, but these errors were encountered: