14 days ago
For the security of my service, I cannot share my .env file in my GitHub repository, so how can I add environment variables?
1 Replies
14 days ago
You can add environment variables directly in the Railway dashboard by going to your service's "Variables" tab and clicking "New Variable." You can also use the "RAW Editor" to paste the contents of your .env file. Variables set this way are securely stored by us and injected into your service at build and runtime, so there's no need to commit them to your repository. More details here: Using Variables.
Status changed to Awaiting User Response Railway • 14 days ago
7 days ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 7 days ago