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

Cannot pass env variables from k8s cluster environment #748

Open
rleshchenko opened this issue Nov 29, 2022 · 2 comments
Open

Cannot pass env variables from k8s cluster environment #748

rleshchenko opened this issue Nov 29, 2022 · 2 comments

Comments

@rleshchenko
Copy link

Hello guys,
Looks like there is no way to pass env variables not from the file.
I've checked with printenv inside my container - variables are there, but when I run my built app with serve - it doesn't see it.
Please assist

@gustawdaniel
Copy link

The same problem with docker compose. Only .env that i see in process are

FAST_REFRESH: true
NODE_ENV: "production"
PUBLIC_URL: "."
WDS_SOCKET_HOST: undefined
WDS_SOCKET_PATH: undefined
WDS_SOCKET_PORT: undefined

@jonasviera
Copy link

I am having the same scenario. Any solution?

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

3 participants