You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The envsubst tool is available in the container already, and can be leveraged to automatically generate the .env files from environment variables passed in to the Docker container at runtime. This in turn can make things really flexible for configuring the running app by simply changing the runtime environment without needing to change the files inside the container in any way.
The text was updated successfully, but these errors were encountered:
I have since realised that this form of expansion already happens using any environment variables of the form REACT_APP_*, so it's not strictly needed to do something like this.
However, this can allow for more complicated expansions, such as interpolating values from the Docker environment into a single value for the webapp.
I do have a PR I'll put up for this in case there is interest and leave it up to you :)
The
envsubst
tool is available in the container already, and can be leveraged to automatically generate the.env
files from environment variables passed in to the Docker container at runtime. This in turn can make things really flexible for configuring the running app by simply changing the runtime environment without needing to change the files inside the container in any way.The text was updated successfully, but these errors were encountered: