NEXIS
Infrastructure

Self-Hosting

Run Nexis with Docker in development and production.

Self-Hosting

Local

docker compose -f infra/docker-compose.yml up -d --build --wait

Production Notes

  • terminate TLS at edge/proxy (nginx, caddy, cloud LB)
  • route WebSocket upgrade traffic to data plane
  • keep control API behind backend/admin paths
  • store secrets in managed secret store (not plaintext env in CI)
  • use rolling deployments with health checks
  • public internet: data plane WS endpoint
  • private/internal: control API + Postgres

Typed Compose Service Map

const :  = {
  : { : 5432 },
  : { : 3000 },
  : { : 4000 },
};

On this page