दस्तावेज़ पर वापस
Deploy करें

Staging और Preview Environments

Safe testing के लिए production के साथ staging और preview environments बनाएं।

Intermediate5 min readUpdated 2026-03-29

Preview environment बनाएं

Preview environments आपको live जाने से पहले changes test करने देते हैं:

  1. अपना ऐप खोलें और Environments section पर जाएं
  2. Create Preview Environment पर क्लिक करें
  3. Deploy करने की branch चुनें
  4. Server Compass अपने domain के साथ isolated container बनाता है
  5. Preview branches configurable timer पर auto-delete हो जाती हैं

Staging बनाम Preview

  • Staging — एक persistent environment जो production mirror करता है। QA और integration testing के लिए use करें।
  • Preview — Branches से tied temporary environments। Push पर auto-create, timer के बाद auto-delete।

दोनों अपने environment variables और domains के साथ separate containers के रूप में run होते हैं।

Production पर promote करें

जब preview या staging environment validated हो:

  1. Promote to Production पर क्लिक करें
  2. Server Compass वही image/branch production पर redeploy करता है
  3. अगर zero-downtime enabled है तो swap बिना interruption होता है

Screenshots

Staging और Preview Environments - Screenshot 1

Related Features

Ready to try Server Compass?

Download the app and deploy your first application in under 5 minutes.

Download Server Compass