diff --git a/railway.toml b/railway.toml index ddb50ec..f93c1ce 100644 --- a/railway.toml +++ b/railway.toml @@ -6,3 +6,25 @@ startCommand = "uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-8000}" healthcheckPath = "/health" restartPolicyType = "ON_FAILURE" restartPolicyMaxRetries = 3 +{ + "$schema": "https://railway.com/railway.schema.json", + "build": { + "builder": "NIXPACKS" + }, + "deploy": { + "runtime": "V2", + "numReplicas": 1, + "startCommand": "uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-8000}", + "healthcheckPath": "/health", + "sleepApplication": false, + "useLegacyStacker": false, + "ipv6EgressEnabled": false, + "multiRegionConfig": { + "us-east4-eqdc4a": { + "numReplicas": 1 + } + }, + "restartPolicyType": "ON_FAILURE", + "restartPolicyMaxRetries": 3 + } +}