SSE on Coolify
Dashboard subscribes to clinic-scoped notification stream — appointment and waiting-room updates appear instantly.
Postgres NOTIFY powers server-sent events to the staff dashboard bell. Staff mobile apps receive FCM push when a patient ARRIVED — no manual refresh.



Dashboard subscribes to clinic-scoped notification stream — appointment and waiting-room updates appear instantly.
Doctors get a push when reception marks patient ARRIVED — tap opens waiting room deep link.
Central factory creates typed notifications with category, priority, and read state synced across devices.
Multi-tenant isolation — streams never cross clinics even on shared infrastructure.
Push arrives while session locked; unlock PIN restores dashboard without re-login.
Portal uses its own auth scope — staff realtime never leaks to patients.