Skip to content

Service Overview

The production-style runtime is defined in docker-compose.yml.

Core Services

  • dr-app: main Next.js application and system of record.
  • dr-video: WebRTC/media room service.
  • transcription-hub: transcript ingestion and finalization.
  • transcription-db: PostgreSQL database for transcription hub.
  • dr-event-hub: structured operational event store.
  • dr-matching: participant grouping and matching service.
  • dr-thinker: analysis-oriented AI service.
  • dr-remote-worker: remote post-call worker lifecycle.
  • audio-deepgram: Deepgram post-call transcription service.
  • audio-vosk: Vosk post-call transcription service.
  • dr-proxy: Nginx reverse proxy.
  • dr-docs: static documentation site.

Routing

The proxy routes:

  • / to dr-app;
  • /video/ to dr-video;
  • /remote-worker-app/ to dr-remote-worker;
  • /matching-admin/ to dr-matching;
  • /thinking-admin/ to dr-thinker;
  • ActivityPub paths to dr-app;
  • docs.democracyroutes.com to dr-docs.

Data Ownership

  • dr-app owns users, community spaces, meetings, templates, flows, public updates, and most authorization.
  • dr-video owns live room state and media behavior.
  • transcription-hub owns transcript ingestion/finalization state.
  • dr-event-hub owns operational events.