Environments
How prod, uat, qa, staging, dev, and preview behave and how env vars map to each.
Last updated: 2026-03-17
Forgeon uses environment scopes to separate deploys, domains, and configuration. Each environment is isolated by design.
Default environments
- prod — live customer traffic
- uat — stakeholder acceptance testing
- qa — dedicated test environment
- staging — pre‑prod validation
- dev — internal development
- preview — branch/PR previews
Environment variables
Each environment has its own env set:
prodenv vars are not shared withpreviewpreviewcan have minimal secrets for safety
Scale‑to‑zero
Environments can scale to zero after inactivity. Forgeon shows:
- Warm vs cold state
- Last request time
- Scale‑to‑zero timeout
Troubleshooting
Deploy fails with missing envs
- Add env vars for the selected environment before deploy
Preview works, prod fails
- Ensure prod has its own env vars and domain mapping