Config as Code - Create and attach a volume
mikenikles
PROOP

a year ago

Hi,

I have a Dockerfile to deploy a service which requires a volume. I can't seem to find a way to configure that in my railway.json.

Is it possible to use config as code to create and attach a volume to a service?

The alternative I can think of is to create a Railway template instead and use that. AFAIC templates can contain volumes.

Thanks,

Mike

Solved

2 Replies

a year ago

Hello,

We do not support defining volume mounts via Config as Code.

Please submit some feedback for that! -

https://station.railway.com/feedback

Best,

Brody


Status changed to Awaiting User Response Railway about 1 year ago



Status changed to Awaiting Railway Response Railway about 1 year ago


Status changed to Solved mikenikles about 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...