File Environment Variables
Anonymous
PROOP

15 days 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

Solved$10 Bounty

Pinned Solution

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

Railway
BOT

15 days 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 15 days 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.


Anonymous
PROOP

14 days 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 14 days ago


Loading...