create-environment
Set up a new Railway environment for your project with ease. Optionally duplicate an existing environment and configure service variables as needed.
Instructions
Create a new Railway environment for the currently linked project. Optionally duplicate an existing environment and set service variables.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
duplicateEnvironment | No | The name of an existing environment to duplicate | |
environmentName | Yes | The name for the new environment | |
serviceVariables | No | Service variables to assign in the new environment (only works when duplicating) | |
workspacePath | Yes | The path to the workspace where the environment should be created |