service_create_from_image
Creates a new service on Railway using a specified Docker image, ideal for custom database setups or pre-built container deployments with specific version requirements.
Instructions
[API] Create a new service from a Docker image
⚡️ Best for: ✓ Custom database deployments ✓ Pre-built container deployments ✓ Specific version requirements
⚠️ Not for: × Standard database deployments (use database_deploy) × GitHub repository deployments (use service_create_from_repo) × Services needing build process
→ Prerequisites: project_list
→ Alternatives: database_deploy, service_create_from_repo
→ Next steps: variable_set, service_update, tcp_proxy_create
→ Related: volume_create, deployment_trigger
Input Schema
Name | Required | Description | Default |
---|---|---|---|
image | Yes | Docker image to use (e.g., 'postgres:13-alpine') | |
name | No | Optional custom name for the service | |
projectId | Yes | ID of the project to create the service in |