
Railway
This handles Railway deployments from containerized apps to database provisioning. You get the CLI commands for initialization and deployment, railway.toml and nixpacks.toml configuration examples, and patterns for environment variables, persistent volumes, and private networking between services. The multi-service setup section shows how to structure monorepos with separate Railway configs per service. Health checks and cron job configuration are covered too. Honestly, Railway's simplicity is its strength here. The skill gives you enough to go from zero to deployed without wading through their entire platform docs, which is exactly what you want when you just need to ship something.
- skills.sh installs
- 135
- GitHub stars
- 296
- last updated
- Jun 10, 2026
Install
$ npx -y skills add hoodini/ai-agents-skills --skill railway --agent claude-codeInstalls into .claude/skills of the current project.
Files
Railway Deployment
Deploy and manage applications on Railway's platform.
Quick Start
# Install Railway CLI
npm i -g @railway/cli
# Login
railway login
# Initialize project
railway init
# Deploy
railway up
railway.toml Configuration
[build]
builder = "nixpacks"
buildCommand = "npm run build"
[deploy]
startCommand = "npm start"
healthcheckPath = "/health"
healthcheckTimeout = 300
restartPolicyType = "on_failure"
restartPolicyMaxRetries = 3
[service]
internalPort = 3000
Nixpacks Configuration
# nixpacks.toml
[phases.setup]
nixPkgs = ["nodejs-18_x", "python311"]
[phases.install]
cmds = ["npm ci"]
[phases.build]
cmds = ["npm run build"]
[start]
cmd = "npm start"
Environment Variables
# Set variable
railway variables set DATABASE_URL="postgres://..."
# Set from file
railway variables set < .env
# Link to service
railway service
railway variables set API_KEY="secret"
Database Services
PostgreSQL
# Add PostgreSQL
railway add -d postgres
# Get connection string
railway variables get DATABASE_URL
Redis
railway add -d redis
# Access via REDIS_URL
Sponsors
Details
- Repository
- github.com/hoodini/ai-agents-skills
- Categories
- Backend & APIs, DevOps & CI/CD, AI & Agent Building, Release Management, Cloud & Infrastructure, Databases
- First seen
- Jun 11, 2026
More from hoodini/ai-agents-skills
All 37- Shabbat Times134
- Cinematic Scrub Landing
- Meta Ads
- Parallax Landing Page
- Video Edit
- Video To Landing Page
- X Twitter Scraper
- Yuv Decks
- Yuv Design System
- Yuv Pilot
- Yuv Reel Covers
- Yuv Video Director
- Yuv Viral Video
- Github Trending3.2K
- Owasp Security3.1K
- Mongodb1.7K
- Mobile Responsiveness1.4K
- Web Accessibility459
- Google Workspace Cli455
- Figma450
- Mermaid Diagrams408
- Analytics Metrics381
- Ux Design Systems270
- Aws Strands249