Environments
Isolate production, staging, custom, and pull-request workloads inside one project.
An environment is an isolated instance of a project's services, configuration, domains, databases, and release state.
Environment types
| Type | Intended use |
|---|---|
| Production | The default live environment and production domains |
| Staging | A persistent pre-production environment |
| Custom | A persistent environment for a team or workflow |
| Preview | A temporary pull-request environment managed by source policy |
Switch environments
Use the environment selector in the project breadcrumb. The canvas and service panel update to the selected environment. Check the breadcrumb before changing variables, creating a database, stopping services, or publishing a domain.
Create an environment
- Open the environment selector.
- Choose New environment.
- Enter a name and select a supported persistent type.
- Confirm the base environment when offered.
The new environment receives its own canonical identity. Copying topology does not imply copying production secrets, database contents, or persistent volumes.
Preview environments
Eligible pull requests can create a stable preview identity that updates when the pull request changes and is removed after close or expiry.
By default:
- fork pull requests are denied;
- production secrets and data are not copied;
- artifacts are pinned by digest;
- generated domains are separate from production; and
- cleanup is retried by the platform if a workflow close job does not run.
Environment-aware changes
These values are scoped to the selected environment:
- service instances and current releases;
- service and shared variables;
- managed databases;
- generated and custom domains;
- private network endpoints;
- deployments, logs, and metrics; and
- stop/redeploy state.
Project members and outbound-webhook definitions are project-wide, though delivered events identify the environment involved.
Production checklist
Before deploying production:
- Confirm the production environment in the breadcrumb.
- Verify required secrets exist.
- Confirm the resource quote and active plan.
- Use immutable artifacts from the reviewed source revision.
- Check health and generated-domain behavior before switching custom traffic.