serve icon indicating copy to clipboard operation
serve copied to clipboard

Cannot pass env variables from k8s cluster environment

Open rleshchenko opened this issue 3 years ago • 2 comments

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

rleshchenko avatar Nov 29 '22 22:11 rleshchenko

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

gustawdaniel avatar May 25 '23 03:05 gustawdaniel

I am having the same scenario. Any solution?

jonasviera avatar Mar 11 '24 14:03 jonasviera