Skip to content

Staging Environment — Live Status

Executive Overview — all summaries for decision-makers.

Stand: 2026-08-03

Render Resources (MQA Group)

Projekt: MQA Governance Portal (prj-d9ofcgjncjis73bu7960)

UmgebungEnvironment IDRessourcen
Productionevm-d9ofcgjncjis73bu796gmqa-backend, mqa-frontend
Stagingevm-d9ofcgjncjis73bu7970mqa-backend-staging, mqa-frontend-staging
ResourceIDURLIm Projekt
Postgres (Prod)dpg-d9oectjl550s73ace0m0-aDashboard⚠️ manuell zuordnen
Postgres (Staging)dpg-d9of9rvqj5pc738l4qn0-aDashboard⚠️ manuell zuordnen
Backend (Prod)srv-d9oed83l550s73aceomghttps://api.mqa.group✅ Production
Frontend (Prod)srv-d9oectjl550s73ace0hghttps://portal.mqa.group✅ Production
Backend (Staging)srv-d9of9u7lk1mc738fvnb0https://mqa-backend-staging.onrender.com✅ Staging
Frontend (Staging)srv-d9ofa00ae00c73bao770https://mqa-frontend-staging.onrender.com✅ Staging

Hinweis Postgres: Render erlaubt per API kein Verschieben bestehender Postgres-Instanzen in ein Projekt (immutable). Zuordnung nur im Dashboard: Service-Liste → Postgres auswählen → Move → Environment wählen (falls im UI verfügbar).

Git Branch

  • Branch: develop → Auto-Deploy auf Staging-Services
  • Production: mainmqa-backend, mqa-frontend

Erledigt ✅

  • [x] develop-Branch auf GitHub angelegt
  • [x] Staging Postgres (mqa-postgres-staging, Frankfurt, basic-1gb)
  • [x] Staging Backend + Frontend Services (Deploy aus develop)
  • [x] Basis-Env-Vars (CORS, JWT, CRON, VITE_*)
  • [x] Integration-Env von Production kopiert (OAuth, R2, AI, E-Mail)
  • [x] OAUTH_REDIRECT_URIhttps://staging.api.mqa.group/api/auth/callback
  • [x] DNS: staging.portal.mqa.group, staging.api.mqa.group (Hostinger CNAME → Render, verifiziert 2026-08-04)

Manuell erforderlich ⚠️

1. Datenbank verbinden (2 Min)

Render Dashboard → mqa-backend-stagingEnvironmentAdd from Databasemqa-postgres-staging → speichern & redeploy.

Ohne diesen Schritt fehlt DATABASE_URL und der Backend-Start schlägt fehl.

2. Azure AD Redirect URI

Im MQA Azure Tenant die App Registration öffnen und Redirect URI hinzufügen:

https://staging.api.mqa.group/api/auth/callback

3. DNS (Hostinger)

HostCNAME TargetStatus
staging.portalmqa-frontend-staging.onrender.com✅ Live (2026-08-04)
staging.apimqa-backend-staging.onrender.com✅ Live (2026-08-04)

Custom Domains auf Render verifiziert; TLS-Zertifikate automatisch ausgestellt.

4. Staging-Daten

Option A: Leere DB — nach Link nur prisma migrate deploy (passiert im Entrypoint)
Option B: Prod-Snapshot — BACKUP-RESTORE-RUNBOOK auf Staging-DB

bash
curl -sf https://staging.api.mqa.group/health
curl -sf https://staging.portal.mqa.group/

Siehe DEPLOYMENT-CHECKLIST.

Blueprint (optional)

Für IaC-Sync kann zusätzlich eine zweite Blueprint-Instanz mit render-staging.yaml im Dashboard angelegt werden. Services existieren bereits — Blueprint dient dann nur noch Sync, nicht Erst-Provision.