Floor Intercom & Audio Dispatch Platform
Local-first, crash-resilient telemetry stack. Real-time monitoring of ACID WAL database, in-memory state locks, and WebRTC Selective Forwarding Unit.
Core Backend Infrastructure Dependencies
3/3 CRITICAL SERVICESPostgreSQL 16
WAL Crash PersistenceStores durable audit trails, floor layouts, persistent dispatch logs, and station permissions across power cuts.
Redis 7 (AOF)
Locks & State CacheSub-millisecond floor locks, ephemeral channel presence, BullMQ job queues, and instant PTT floor coordination.
LiveKit Server
WebRTC SFU AudioHigh-concurrency Selective Forwarding Unit for sub-50ms multichannel audio dispatch and real-time station voice.
Tablet & Client Audio Readiness
REAL BROWSER APISValidates local browser capabilities required for station intercom, PTT streaming, and always-on display.
Dual Caddy Profiles
Profile A provisions zero-touch trusted HTTPS via DNS-01. Profile B operates 100% air-gapped using the internal CA server on port 8080.
Staff Tablet Onboarding
New tablets connecting over local Wi-Fi must trust the Root CA certificate downloaded from http://[HOST_LAN_IP]:8080/rootCA.crt.
Local Dev vs Production
On port 3000, Next.js route handler proxies /api/v1/health to port 3001. In production Docker, Caddy reverse-proxies directly to the API container.