4 months ago
Hello,
I am looking to add a DATABASE SEEL ROOT CERT as a file environment variable to my service.
Does Railway support this? I am looking for something like this: https://www.qovery.com/docs/configuration/environment-variables#variable-as-file
If this is not possible, do you have an alternative recommendation?
Attachments
Pinned Solution
4 months ago
IIRC no, I don’t think Railway supports files as variables at the moment. What you can do, however, is base64 encode the files and store it as a variable. Then in code, base64 decode it.
2 Replies
4 months ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open Railway • 4 months ago
4 months ago
IIRC no, I don’t think Railway supports files as variables at the moment. What you can do, however, is base64 encode the files and store it as a variable. Then in code, base64 decode it.
4 months ago
Required a (minimal) code change, but was the solution I decided to go with as it seemed very straightforward. Thank you!
Status changed to Solved brody • 4 months ago
