Back to projects
Sep 28, 2025
3 min read

Global Office Surveillance Dashboard

A secure, real-time CCTV monitoring system with global office coverage, protected by Cloudflare Zero Trust

Project Overview

Designed and implemented a comprehensive RTSP streaming dashboard that provides secure, real-time surveillance monitoring across multiple international office locations. The system combines Docker containerization, RTSP camera streams, and enterprise-grade security through Cloudflare Zero Trust.

Technical Implementation

Core Components

  • Docker & MotionEye: Containerized MotionEye instances running on Docker Compose for efficient RTSP stream management
  • RTSP CCTV Integration: Port-forwarded cameras from multiple office locations connected to a centralized MotionEye instance
  • Infrastructure: Hosted on a DigitalOcean droplet ($15/month) for reliable 24/7 operation
  • Cloudflare Zero Trust: Implementation of secure access control and authentication
  • Custom Dashboard: Responsive HTML/CSS interface with embedded live streams

Security Features

  • Zero Trust security model ensuring only authorized personnel can access streams
  • Authentication integration with corporate identity providers
  • Encrypted stream transmission
  • Granular access control based on user roles and office locations

Dashboard Features

  • Real-time clock displays for different time zones
  • Office location identifiers with country flags
  • Multiple camera views in a grid layout
  • Responsive design for various screen sizes
  • Status indicators for camera connectivity

Technical Challenges & Solutions

Stream Security & Infrastructure

  • Implemented Cloudflare Zero Trust to create a secure tunnel between the RTSP streams and the dashboard
  • Configured port forwarding rules at each office location to securely expose CCTV cameras
  • Centralized stream management through MotionEye running on Docker Compose
  • Hosted on a DigitalOcean droplet with optimized specifications for handling multiple RTSP streams

Performance Optimization

  • Stream quality adaptation based on network conditions and bandwidth availability
  • Efficient container resource management through Docker Compose
  • Optimized video feed layout for minimal CPU/memory usage on the droplet
  • Regular monitoring of resource usage to maintain $15/month cost efficiency

Global Accessibility

Created a distributed system architecture that maintains low-latency streaming while serving users across different geographical locations through Cloudflare’s global network.

Results & Impact

  • Centralized monitoring solution for multiple international offices
  • Reduced security personnel requirements through remote monitoring
  • Enhanced security through Zero Trust implementation
  • Improved incident response time with real-time monitoring
  • Scalable solution that can accommodate additional office locations

Technologies Used

  • Docker for containerization
  • MotionEye for RTSP stream management
  • Cloudflare Zero Trust for security
  • HTML5/CSS3 for dashboard interface
  • Cloudflare Pages for hosting
  • WebSocket for real-time updates
  • Time zone APIs for accurate clock displays