R
Railway13mo ago
Jack

Scalable volume size for template project deployment?

Hey, I was just curious whether the volume size could be automatically scaled depending on necessary volume quantity when creating a project. For example, if I created a Wordpress template and published it, most of the contents folders and other persistent files are stored in the volume, possibly exceeding the default quantity of 100mb. If I created one, does the size cap at the max for the plan but waits for first deployment to set or could a template feature be introduced with a configurable value?
26 Replies
Percy
Percy13mo ago
Project ID: N/A
Jack
Jack13mo ago
N/A
Will Scott-Rodriguez
Following this. Just tried deploying a docker image of Wordpress and got no luck. I've managed to launch wordpress with persistant storage on wp-content but not on the root. Have you managed to get it up and running correctly with the bigger volume size?
Jack
Jack13mo ago
I’m assuming I definitely can, only problem and worry on my part is default volume size with templates; I can check though.
Will Scott-Rodriguez
You can but there's issues with css and ftp access to write new files.
Jack
Jack13mo ago
Ah, that’s true. Should be fine with the volume though, no?
Adam
Adam13mo ago
The volume limitations for the hobby plan are 10GB each. You are charged by 0.25/GB you have nothing to worry about
Adam
Adam13mo ago
Jack
Jack13mo ago
That’s not my question.. I know that.
Adam
Adam13mo ago
what’s your question then? it’s not clear
Jack
Jack13mo ago
Is the max size of a volume scalable on first deployment or per value in template to ensure complete deployment?
Adam
Adam13mo ago
that’s still not clear, please elaborate
Jack
Jack13mo ago
Cause if I make a template with a service that deploys its core files in the volume as necessary but its larger than the default maximum size of 100mb, will it auto scale or prevent the deployment/installation from completing?
Adam
Adam13mo ago
the amount provided in each volume is dynamic that has nothing to do with the volume sizes. Railway’s deployment storage will handle all of this the default maximum is 10gb, so you will have no problems I’m not clear on what your problem is is this theoretical or practical?
Jack
Jack13mo ago
All volumes are created with a default maximum of 100mb and can be scaled up but not down, per documentation, am I wrong? That’s just the limit for each plan and scaling towards, not the default maximum for each volume..
Jack
Jack13mo ago
Jack
Jack13mo ago
Or was this changed?
Adam
Adam13mo ago
you’re not wrong, but the price is no different so it really doesn’t matter
Jack
Jack13mo ago
I know, just worried that the build wouldn’t complete and error the deployment if it needs more than the default maximum allocated when not specifiable in the template. I’ve seen pictures of size increasing earlier, but now seeing different things different places.
Jack
Jack13mo ago
Jack
Jack13mo ago
Adam
Adam13mo ago
I don’t think you have anything to worry about this is something you can test yourself
Will Scott-Rodriguez
From my testing, I couldn't get it to work, even with the volume mounted at any size. Wordpress kept asking for ftp write access, even after mounting at /wp-content. I don't think it's possible unless railway allows for root mount in the future.
Jack
Jack13mo ago
Got it! Expect a template release soon hopefully!
Jack
Jack13mo ago
Railway
Deploy Wordpress on Railway
A content management system (CMS) written in PHP
Will Scott-Rodriguez
Amazing work. Testing it now!