RailwayDocs

Deployments

Railway makes deploying your applications simple while providing powerful controls for production workloads. This section covers everything you need to know about managing deployments.

Getting started

TopicDescription
ReferenceComplete reference for deployment configuration options.
Start CommandConfigure how your application starts.
Pre-Deploy CommandRun commands before your deployment goes live (migrations, etc).

Scaling & performance

TopicDescription
ScalingScale your services horizontally and vertically.
RegionsDeploy to specific geographic regions.
Optimize PerformanceTips for optimizing your deployment performance.
ServerlessConfigure serverless behavior for your services.

Health & reliability

TopicDescription
HealthchecksConfigure health checks to ensure your services are running correctly.
Restart PolicyControl how Railway handles service restarts.

Deployment workflow

TopicDescription
GitHub AutodeploysAutomatically deploy when you push to GitHub.
Image Auto UpdatesKeep Docker images up to date automatically.
Staged ChangesStage and review changes before deploying.
Deployment ActionsManage deployment lifecycle actions.
Deployment TeardownUnderstand what happens when deployments are removed.

Advanced

TopicDescription
MonorepoDeploy services from a monorepo.