Generate Railway Domain
generate-domainGenerate a domain for your Railway project. Returns the existing domain URL if one is already configured, or creates a new domain for the project or specific service.
Instructions
Generate a domain for the currently linked Railway project. If a domain already exists, it will return the existing domain URL. Optionally specify a service to generate the domain for.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspacePath | Yes | The path to the workspace to generate domain for | |
| service | No | The name of the service to generate the domain for (optional) |