Config as Code - Create and attach a volume
mikenikles
PROOP

7 months 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

brody
EMPLOYEE

7 months 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 7 months ago



Status changed to Awaiting Railway Response Railway 7 months ago


Status changed to Solved mikenikles 7 months ago


Loading...