Skip to content

Commit

Permalink
add startup order docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredLunde committed Nov 23, 2024
1 parent edc53e3 commit 0e8d759
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/docs/guides/deployment-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,11 @@ width={947} height={156} quality={80} />
Restarting a crashed Deployment restores the exact image containing the code & configuration of the original build. Once the Deployment is back online, its status will change back to `Success`.

You can also click within a deployment and using the Command Palette restart a deployment at any state.

## Startup Order

You can control the order your services start up with [Reference Variables](https://docs.railway.com/guides/variables#reference-variables).
When one service references another, it will be deployed after the service it is referencing when
applying a [staged change](https://docs.railway.com/guides/staged-changes) or [duplicating an environment](https://docs.railway.com/guides/environments#create-an-environment).

An example of when this is useful is deploying an API service that depends on a [PostgreSQL database](https://docs.railway.com/guides/postgresql).

0 comments on commit 0e8d759

Please sign in to comment.