Skip to content

Deployment Overview

VeloxTS applications can be deployed to various platforms.

PlatformTypeBest For
RailwayPaaSQuick deploys, scaling
RenderPaaSFree tier, simplicity
Fly.ioEdgeGlobal distribution
DockerContainerSelf-hosted, Kubernetes
VercelServerlessRSC apps
  • Set NODE_ENV=production
  • Configure production database URL
  • Set secure JWT secrets (32+ chars)
  • Run pnpm build
  • Run pnpm prisma migrate deploy
  • Configure health check endpoint
Terminal window
NODE_ENV=production
DATABASE_URL=postgresql://...
JWT_SECRET=your-secure-secret-min-32-chars
JWT_REFRESH_SECRET=another-secure-secret
PORT=3030

Ensure /api/health returns 200:

Terminal window
curl https://your-app.com/api/health
# {"status":"ok","timestamp":"..."}