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

(client) Create a client for a runtime service fails for missing env #2499

Open
leorossi opened this issue May 3, 2024 · 0 comments
Open
Assignees

Comments

@leorossi
Copy link
Contributor

leorossi commented May 3, 2024

We are aware that a Platformatic runtime has a single .env file at the root of the projects.

All services env variable are prefixed with PLT_SERVICE_NAME_... in that file.

Having a service called foobar having some env variables in its platformatic.json file, the command platformatic client --runtime foobar because it doesn't load the .env from the root directory apparently and complains about missing env variable

@leorossi leorossi self-assigned this May 3, 2024
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