swadhinbiswas docs: uv/uvx integration + heavy SEO (JSON-LD, keywords, FastAPI search visibility) · 7/24/2026
7329e8f
47 lines · 1005 Bytes
Raw Download

title: Railway
description: Deploy JustAPI to Railway for zero-config cloud deployment — the FastAPI alternative that deploys effortlessly.
keywords: JustAPI, FastAPI alternative, Railway, zero-config, cloud deployment

1. Create railway.json

{
  "build": {
    "builder": "DOCKERFILE"
  },
  "deploy": {
    "restartPolicyType": "ALWAYS",
    "numReplicas": 2
  }
}

2. Configure Environment

Set these environment variables in Railway dashboard:

Variable Description
PORT Usually set automatically to 8080
RUST_LOG info
DATABASE_URL PostgreSQL connection string
REDIS_URL Redis connection string

3. Deploy

railway login
railway init
railway up

Or connect via GitHub — Railway auto-deploys on push.

See Also