8 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
2 Replies
8 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 • 8 months ago
8 months ago
Done. Feedback thread: https://station.railway.com/feedback/config-as-code-create-and-attach-a-vol-e24c2476
Status changed to Awaiting Railway Response Railway • 8 months ago
Status changed to Solved mikenikles • 8 months ago