R
Railway13mo ago
macwilko

Change default Railway logo between deployments

Is there anyway to change the default screen that shows a Railway logo when the service isn't up? it seems everytime I do a deploy to the Remix app, there's a brief period between switching over deployments and the Railway logo is shown
12 Replies
Percy
Percy13mo ago
Project ID: dd3f96f7-3ab3-4453-86a3-32328b2f81d6
macwilko
macwilkoOP13mo ago
dd3f96f7-3ab3-4453-86a3-32328b2f81d6
macwilko
macwilkoOP13mo ago
No description
macwilko
macwilkoOP13mo ago
Ok weirdly I can't seem to update the healthcheck path OMG brody... it's because of - ?! you can't have /health-check just /health
Adam
Adam13mo ago
no, this isn’t possible natively atm. You could have a separate service that just redirects requests to your main app. When a healthcheck fails to your main app display a different page you created until it’s back up
macwilko
macwilkoOP13mo ago
Thanks Adam, if I understood the service won’t switch over until health checks pass right? Using the health checks should prevent this from happening I understand
pandas
pandas13mo ago
Any guides on this? Would love to set this up on every app
macwilko
macwilkoOP13mo ago
Wouldn’t additional redirecting also at latency?
Adam
Adam13mo ago
yup No, no guides that I know of It’ll be negligible given that the two services are in the same region.
Brody
Brody13mo ago
correct, just use a healthcheck for zero downtime deployments. (if your service has / will have a volume then there will always be downtime from the deadtime as to avoid two services being able to access the same volume at the same time)
macwilko
macwilkoOP13mo ago
phew, no volume added! ty brody!
Brody
Brody13mo ago
that caveat I mentioned won't be a thing forever, eventually railway will allow you to attach multiple volumes to a single service and multiple services to a single volume so when that happens, deadtime will be removed and file corruption is your problem
Want results from more Discord servers?
Add your server