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
Project ID:
dd3f96f7-3ab3-4453-86a3-32328b2f81d6
dd3f96f7-3ab3-4453-86a3-32328b2f81d6
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
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
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
Any guides on this? Would love to set this up on every app
Wouldn’t additional redirecting also at latency?
yup
No, no guides that I know of
It’ll be negligible given that the two services are in the same region.
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)
phew, no volume added!
ty brody!
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