Skip to main content
Glama

database_deploy_from_template

Deploy a pre-configured database using Railway's official templates and best practices for standard database types like PostgreSQL, MongoDB, and Redis with security defaults.

Instructions

[WORKFLOW] Deploy a pre-configured database using Railway's official templates and best practices

⚡️ Best for: ✓ Standard database deployments ✓ Quick setup with security defaults ✓ Common database types (PostgreSQL, MongoDB, Redis)

⚠️ Not for: × Custom database versions × Complex configurations × Unsupported database types

→ Prerequisites: database_list_types

→ Alternatives: service_create_from_image

→ Next steps: variable_list, service_info

→ Related: volume_create, service_update

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdYesID of the project where the database will be deployed
typeYesType of database to deploy (e.g., postgresql, mongodb, redis). Use service_create_from_image for other types.
regionYesRegion where the database should be deployed, try us-west1 before all other regions
environmentIdYesEnvironment ID where the database will be deployed (usually obtained from project_info)
nameNoOptional custom name for the database service. Default: {type}-database

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/antonioevans/railway-mcp'

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