Skip to main content
Glama
railway-config.ts834 B
/** * Railway Configuration Template * Deploy Node.js apps with automatic PostgreSQL */ // railway.json example export const railwayConfig = `{ "$schema": "https://railway.app/railway.schema.json", "build": { "builder": "NIXPACKS" }, "deploy": { "numReplicas": 1, "sleepApplication": false, "restartPolicyType": "ON_FAILURE", "restartPolicyMaxRetries": 10 } }`; // Environment variables for Railway // Set these in your Railway dashboard or railway.toml // Note: Use Railway variable references like Postgres.DATABASE_URL export const railwayEnvVars = ` NODE_ENV = "production" PORT = "3000" DATABASE_URL = "Postgres.DATABASE_URL" `; // railway.toml example export const railwayToml = ` [build] builder = "nixpacks" [deploy] healthcheckPath = "/health" healthcheckTimeout = 100 numReplicas = 1 `;

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/millsydotdev/Code-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server