20 days ago
On this service, https://railway.com/project/10d86c69-8ae1-4eaf-98de-deeea10b938a/service/eb1cce1b-8fd4-433a-82f7-cb0842da9d91?environmentId=ddbdc32e-b5bf-41a5-8fe3-404d12de1c3c I have environment variables configured, however when I use process.env
to console.log them out at runtime, the environment variables are not available.
Funnily enough, I can see the variables when I run railway variables
from the CLI.
Have I done something wrong?
3 Replies
20 days ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
20 days ago
Hello,
This would be Turbo's default configuration, to not include any variables unless manually defined.
Please see Turbo's docs on this topic.
https://turborepo.com/docs/crafting-your-repository/using-environment-variables#environment-modes
Best,
Brody
Status changed to Awaiting User Response Railway • 20 days ago
Status changed to Awaiting Railway Response Railway • 19 days ago
Status changed to Solved brody • 19 days ago