Type object
File match railway.toml railway.json
Schema URL https://catalog.lintel.tools/schemas/schemastore/railway/latest.json
Source https://railway.com/railway.schema.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

$schema string
build object

Configuration for the build step

8 nested properties
builder string | null
watchPatterns string[] | null
buildCommand string | null
dockerfilePath string | null
nixpacksConfigPath string | null
nixpacksPlan object | null
nixpacksVersion string | null
railpackVersion string | null
deploy object

Configuration for the deploy step

18 nested properties
startCommand string | null
preDeployCommand string | string[] | null | null
numReplicas integer | null
healthcheckPath string | null
healthcheckTimeout number | null
sleepApplication boolean | null
runtime string | null
registryCredentials object | null
restartPolicyType string | null
restartPolicyMaxRetries number | null
cronSchedule string | null
region string | null
multiRegionConfig object | null
limitOverride object | null
requiredMountPath string | null
overlapSeconds number | null
drainingSeconds number | null
ipv6EgressEnabled boolean | null
environments Record<string, object>

Override service manifest for different environments