R
Railway2y 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
Percy2y ago
Project ID: N/A
Jack
JackOP2y 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
JackOP2y 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
JackOP2y ago
Ah, that’s true. Should be fine with the volume though, no?
Adam
Adam2y 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
Adam2y ago
Jack
JackOP2y ago
That’s not my question.. I know that.
Adam
Adam2y ago
what’s your question then? it’s not clear
Jack
JackOP2y ago
Is the max size of a volume scalable on first deployment or per value in template to ensure complete deployment?
Adam
Adam2y ago
that’s still not clear, please elaborate
Jack
JackOP2y 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
Adam2y 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
JackOP2y 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
JackOP2y ago
Jack
JackOP2y ago
Or was this changed?
Adam
Adam2y ago
you’re not wrong, but the price is no different so it really doesn’t matter
Jack
JackOP2y 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
JackOP2y ago
Jack
JackOP2y ago
Adam
Adam2y 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
JackOP2y ago
Got it! Expect a template release soon hopefully!
Jack
JackOP2y ago
Railway
Deploy Wordpress on Railway
A content management system (CMS) written in PHP
Will Scott-Rodriguez
Amazing work. Testing it now!
Want results from more Discord servers?
Add your server