SYSTEM OFFLINETarget Service: apiBuild: v0.1.0

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.

Uptime:0s
Heartbeat:--:--:--
Proxy Gateway:/api/v1/health

Core Backend Infrastructure Dependencies

3/3 CRITICAL SERVICES

PostgreSQL 16

WAL Crash Persistence
FAULT

Stores durable audit trails, floor layouts, persistent dispatch logs, and station permissions across power cuts.

Response LatencyUNREACHABLE
Check local Docker daemon or network bridge

Redis 7 (AOF)

Locks & State Cache
FAULT

Sub-millisecond floor locks, ephemeral channel presence, BullMQ job queues, and instant PTT floor coordination.

Response LatencyUNREACHABLE
Check local Docker daemon or network bridge

LiveKit Server

WebRTC SFU Audio
FAULT

High-concurrency Selective Forwarding Unit for sub-50ms multichannel audio dispatch and real-time station voice.

Response LatencyUNREACHABLE
Check local Docker daemon or network bridge

Tablet & Client Audio Readiness

REAL BROWSER APIS

Validates local browser capabilities required for station intercom, PTT streaming, and always-on display.

CONFIG NEEDED
Shift Manager Local Network Operations Reference

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.