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

Optional environment (.env) file #23

Closed
mystiker opened this issue May 27, 2024 · 0 comments · Fixed by #25
Closed

Optional environment (.env) file #23

mystiker opened this issue May 27, 2024 · 0 comments · Fixed by #25
Labels
backend This isssue is specific to the backend

Comments

@mystiker
Copy link
Owner

mystiker commented May 27, 2024

At the current version of nodejs, the param --env-file errors out if this file is not available.
We want to use this file as a optional settings file no matter the environment so we need to switch from native --env-file support to dotenv package, since this will not be fixed soon. See nodejs/node#53177 for more details.

This will allow more control over the maybe accessible .env file.

We can remove the different settings at backend/package.json (serve | serve:env | start) after this.

@mystiker mystiker added the backend This isssue is specific to the backend label May 29, 2024
@mystiker mystiker added this to the Refactor existing code milestone May 29, 2024
@mystiker mystiker mentioned this issue May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend This isssue is specific to the backend
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant