Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the behaviour of setting up env variables #11

Open
prernagp opened this issue Aug 8, 2023 · 0 comments
Open

Change the behaviour of setting up env variables #11

prernagp opened this issue Aug 8, 2023 · 0 comments

Comments

@prernagp
Copy link
Contributor

prernagp commented Aug 8, 2023

Is your feature request related to a problem? Please describe.
At present, environment variables are set through environment.ts files included in the angular build package. However, we can rewrite the logic of injecting values on runtime, which can be helpful when the angular application is built using Docker.

Describe the solution you'd like
We can have a combination of both scenarios, where env variables are injected as a part of the build package or on runtime. We can create a mechanism to read the values from buildSpec file and replace them with the values in environment.ts according to the application environment i.e. QA, PROD pr STAGE. Refer to https://github.com/sourcefuse/soundplay-ui/pull/222

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant