An open API service indexing awesome lists of open source software.

https://github.com/racksync/frigate-docker


https://github.com/racksync/frigate-docker

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# ๐ŸŽฅ Frigate Docker Setup

This repository contains a Docker Compose configuration for running Frigate NVR

## โšก Prerequisites

- ๐Ÿณ Docker and Docker Compose installed
- ๐Ÿ”Œ USB Coral TPU (optional but recommended)
- ๐Ÿ’พ Sufficient storage space for video recordings

## ๐Ÿš€ Quick Start

1. Clone this repository:
```bash
git clone https://github.com/racksync/frigate-docker
cd frigate-docker
```

2. Create a config.yml file in the config directory:
```bash
mkdir -p config
touch config/config.yml
```

3. Configure environment variables:
```bash
# 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
```

4. Start the container:
```bash
docker-compose up -d
```

## ๐Ÿ“ Directory Structure

```
.
โ”œโ”€โ”€ config/
โ”‚ โ””โ”€โ”€ config.yml
โ”œโ”€โ”€ storage/
โ”œโ”€โ”€ docker-compose.yml
โ””โ”€โ”€ .gitignore
```

## โš™๏ธ Configuration

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)

## ๐Ÿ”Œ Ports

- ๐ŸŒ 5000: Web interface
- ๐Ÿ“น 8554: RTSP feeds
- ๐ŸŒŠ 8555: WebRTC (TCP/UDP)

## ๐Ÿ”— Network

Uses external 'backend' network for container communication.

## ๐Ÿ“ฆ Storage

- ๐Ÿ“ผ Media storage: ./storage
- โš™๏ธ Configuration: ./config
- ๐Ÿ’ซ Temporary cache: 2GB RAM disk

### ๐Ÿ“š Automation Training

- ๐Ÿ›’ [เธชเธดเธ™เธ„เน‰เธฒเนเธฅเธฐเธšเธฃเธดเธเธฒเธฃ](http://racksync.com)
- ๐Ÿ“– [เน€เธ—เธฃเธ™เธ™เธดเนˆเธ‡เธ„เธญเธฃเนŒเธช](https://facebook.com/racksync)

### ๐Ÿ‘ฅ Community

- ๐Ÿ˜๏ธ [Home Automation Thailand](https://www.facebook.com/groups/hathailand)
- ๐Ÿ›๏ธ [Home Automation Marketplace](https://www.facebook.com/groups/hatmarketplace)
- ๐Ÿ’ฌ [Home Automation Thailand Discord](https://discord.gg/Wc5CwnWkp4)

## ๐Ÿข [RACKSYNC CO., LTD.](https://racksync.com)

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

[![Home Automation Thailand Discord](https://img.shields.io/discord/986181205504438345?style=for-the-badge)](https://discord.gg/Wc5CwnWkp4) [![Github](https://img.shields.io/github/followers/racksync?style=for-the-badge)](https://github.com/racksync)
[![WebsiteStatus](https://img.shields.io/website?down_color=grey&down_message=Offline&style=for-the-badge&up_color=green&up_message=Online&url=https%3A%2F%2Fracksync.com)](https://racksync.com)