R
Railway•2y ago
rob

Is it possible to configure Railway to deploy only after the old deploy is removed?

The project I keep deployed on the site does not allow for multiple instances running at the same time and the current deploy process causes an overlapping of about 20-30 seconds where 2 versions of the project are live concurrently (causing unneeded error logs in both instances) Is it possible to prevent this by configuring Railway?
9 Replies
Percy
Percy•2y ago
Project ID: N/A
rob
robOP•2y ago
N/A
JustJake
JustJake•2y ago
RAILWAY_DEPLOYMENT_OVERLAP_SECONDS=0
rob
robOP•2y ago
That's awesome, thank you! I'll give it a try It worked like a charm 1000 Is there a documentation page I can look into to see all the variables I could set to configure Railway to my needs?
JustJake
JustJake•2y ago
Those are the provided ones
rob
robOP•2y ago
Does the variable RAILWAY_DEPLOYMENT_OVERLAP_SECONDS support negative values? Let's say I want to stop my previous deploy and, after 5 seconds, I want to start the new one: can I do that setting it to -5?
JustJake
JustJake•2y ago
It does not sadly After we release persistent volumes this month we'll release rollout strategies
rob
robOP•2y ago
I'm looking forward to it 😄
Want results from more Discord servers?
Add your server