Grouping deploys of related services
carakessler
PROOP

2 years ago

We are hosting an API and webapp on railway. The API takes about 5 minutes longer to deploy, and results in downtime if there is a backwards incompatible change. Is there a way to link services, and to force one to wait for the other? So basically, when the webapp is ready to deploy, tell it to wait to replace the old version until the API finishes?

1 Replies

2 years ago

Would setting the heathcheck path of / or another healthcheck path on your API service suffice? It will wait for it to return status code 200 before using the new deployment.


Loading...