justapi — /docs

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

JustAPI v2.0.9 — Open Source MIT License · Built with WebTUI · GitHub

NORMAL master justapi/docs
utf-8 Top 1:1