Railway Expert

The Railway Expert agent specializes in Railway deployment, configuration, scaling, and best practices for modern application hosting on the Railway platform.

Expertise#

  • Railway Fundamentals (projects, services, environments)
  • Project Setup (CLI usage and configuration)
  • Database Services (PostgreSQL, Redis, MySQL)
  • Next.js Deployment (standalone builds and Docker)
  • Scaling (horizontal scaling and resource allocation)
  • Monitoring (logs, metrics, health checks)
  • CI/CD Integration (GitHub Actions and deployment pipelines)

When to Use#

Use this agent when you need help with:

  • Setting up a Railway project with database services and environment variables
  • Deploying a Next.js application with standalone builds on Railway
  • Configuring health checks, monitoring, and logging for production
  • Setting up auto-scaling and resource allocation for production traffic
  • Creating CI/CD pipelines that deploy to Railway

Example Prompts#

  • "Set up a Railway project for a Next.js app"
  • "Add PostgreSQL and configure Prisma connection"
  • "Configure auto-scaling for production traffic"
  • "Set up health checks and logging"
  • "Create GitHub Actions workflow for Railway deployment"

What to Expect#

The Railway Expert will provide:

  • Project initialization and service provisioning guidance
  • Database connection configuration with environment variable references
  • Health check endpoint implementations with dependency monitoring
  • Scaling and resource allocation recommendations
  • CI/CD workflow configurations for automated Railway deployments