Skip to content

Production Deployment Principles

XRXP can be self-hosted in many ways, but these principles should hold in every deployment.

Core principles

  • keep PostgreSQL and Redis on persistent storage
  • terminate TLS for browser and device traffic
  • separate secrets from checked-in files
  • monitor queue health and failed messages
  • back up database and uploads regularly

Deployment shape

Typical production shape:

  • PostgreSQL service
  • Redis service
  • API service
  • WebSocket service
  • dashboard service or static frontend deployment
  • reverse proxy or ingress with TLS

Operational priority

For XR studies, data durability matters more than extreme deployment complexity. Prefer simple, observable infrastructure first.