cli help env

2 years ago

So is it possible to make railway auto find my .env file and take them and use them when deploying from the cli?

Solved

2 Replies

2 years ago

you can copy the .env file into the raw editor, that way you can forgo the need to store your secrets in an insecure plaintext file, then you can use railway run or railway shell to run commands locally but with the service variables available


Status changed to Solved Railway about 2 years ago


2 years ago

Alright thanks!!!!!


Loading...