Railway environments give you an isolated instance of all databases and services in a project. You can use them to
- Have development environments for each team member that are identical to the production environment
- Have separate staging and production environments
Each environment has the same services. This applies to database services, when added to the project, an instance of that service is created for each environment.
Create an Environment
You can create an environment under Settings > Environments. When you create an environment, Railway provisions the same services from the
railway up with an environment selected from the CLI will create a deploy using the variables from the Environment.
If you enable Pull Request Deploys, a temporary environment is spun up to support the Pull Request deploy. These environments are deleted as soon as these PRs are merged or closed.
Edit this file on GitHub