R
Railway12mo ago
raii6926

.env cant gitignore

Hi, I have a problem if my env is in gitignore then railway cannot read the .env file with a db connection error message so I have to publish my .env so that railway can access the db. For this reason, is there a way for the railway to overcome this?
6 Replies
Percy
Percy12mo ago
Project ID: c2535131-ddd3-4439-8c35-c3a00000c54f
raii6926
raii692612mo ago
c2535131-ddd3-4439-8c35-c3a00000c54f
Lelebees
Lelebees12mo ago
Yes, the "environment variables" feature should be used to overcome this problem You can find these under the "variables" tab in your service
raii6926
raii692612mo ago
is this one?
No description
Lelebees
Lelebees12mo ago
Yes!
raii6926
raii692612mo ago
ah i see its work thank youu
Want results from more Discord servers?
Add your server