This repository contains a Docker Compose configuration for running Frigate NVR
- 🐳 Docker and Docker Compose installed
- 🔌 USB Coral TPU (optional but recommended)
- 💾 Sufficient storage space for video recordings
- Clone this repository:
git clone https://github.com/racksync/frigate-docker
cd frigate-docker- Create a config.yml file in the config directory:
mkdir -p config
touch config/config.yml- Configure environment variables:
# Core settings
FRIGATE_RTSP_PASSWORD=your_password
SET_TZ=Asia/Bangkok
# MQTT Settings (optional)
MQTT_HOST=mosquitto
MQTT_USER=your_mqtt_user
MQTT_PASSWORD=your_mqtt_password
# Debug Options
DEBUG_LOGS=false- Start the container:
docker-compose up -d.
├── config/
│ └── config.yml
├── storage/
├── docker-compose.yml
└── .gitignore
The docker-compose.yml includes:
- 🧠 Shared memory allocation: 2048MB
- 🎯 USB Coral TPU support
- 🌐 External network configuration
- 📡 RTSP and WebRTC ports exposed
- 💿 Persistent storage for recordings
- 🏥 Container health monitoring
- 📊 Resource limits (4GB max, 1GB reserved)
- 🌍 5000: Web interface
- 📹 8554: RTSP feeds
- 🌊 8555: WebRTC (TCP/UDP)
Uses external 'backend' network for container communication.
- 📼 Media storage: ./storage
- ⚙️ Configuration: ./config
- 💫 Temporary cache: 2GB RAM disk
RACKSYNC Co., Ltd. specializes in automation and smart solutions of all scales. We are experts in designing, implementing, and monitoring sophisticated automation systems. Our team of specialists provides comprehensive consulting services and technical implementation for both residential and commercial projects. Beyond automation, we offer full-cycle Software as a Service (SaaS) development, helping businesses transform their operations through custom digital solutions. With our deep expertise in IoT, home automation, and enterprise systems, we deliver reliable and innovative solutions tailored to each client's unique requirements.
📍 RACKSYNC COMPANY LIMITED 🌏 Suratthani, Thailand 84000 📧 Email : devops@racksync.com 📞 Tel : +66 85 880 8885