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

feat(demo): UP TS docker & Vue stack based on it #31

Open
PierreBrisorgueil opened this issue Feb 25, 2021 · 1 comment
Open

feat(demo): UP TS docker & Vue stack based on it #31

PierreBrisorgueil opened this issue Feb 25, 2021 · 1 comment

Comments

@PierreBrisorgueil
Copy link
Contributor

No description provided.

@PierreBrisorgueil
Copy link
Contributor Author

Hey, after fixing mongo side, I still can't up to my demo correctly. It does not connect to mongo.

It's normal .. again 🤷‍♂️ I deployed the demo on a Kubernetes cluster by passing its environment variables, unlike the stack node, not considered for typescript without a compile.

We have two "solutions":

  1. Build adjustment: review the docker file to collect the environment variables during the build, a bit like the stack vue. By focusing on the main ones, DB, oAuth, Cors ... This requires one build per project, and declaration of usable ARGS in docker file.

  2. Project adjustment: exit the configuration from the compilation. that it is managed exclusively in JS and called from the TS compile.
    This require one build for multiple projects, config take into account at start.

@farhatmo @s0j0hn Any suggestion? opinion?
ps: @s0j0hn as you initiated the stack, is point 3 easily achievable?

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

No branches or pull requests

1 participant