PHLAK / frigate-compose

A docker-compose configuration for Firgate NVR.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frigate Compose

Become a Sponsor One-time Donation


Requirements

Installation

  1. Clone the repository

    git clone https://github.com/PHLAK/frigate-compose.git
    
  2. Initialize the configuration files

     make init
    

    or manually run the commands in Makefile

  3. Set the environment variables in .env

  4. Set service-specific environment variables by editing the files found in the environment.d directory (optional)

  5. Modify the volumes/frigate/config.yaml file with your configuration options

  6. Run docker-compose config to validate and confirm your configuration

  7. Run docker-compose up -d to start the containers

Configuration

Frigate

Frigate configuration is controlled through the config.yaml configuration file. Reference the official Frigate configuration file docs for more info.

Note

After editing the config.yaml the frigate container must be restarted (e.g. docker compose up -d) for changes to apply.

Watchtower

Watchtower configuration is controlled through the environment variables set in the config/watchtower.env file. Check out the Watchtower documentation (specifically the Arguments page) for more information on the available envionment variables and what they do.

Hardware Acceleration

To enable hardware acceleration for transcoding you can uncomment the relevant lines in hardware-acceleration.yaml based on your available hardware.

Updating Containers

This project includes Watchtower that will periodically check for new images on a schedule and update containers if found.

To manually fetch updated images and update the running containers run

docker-compose pull && docker-compose up -d

Default Port Reference

Service Port
Web UI 5000
RTMP 1935

About

A docker-compose configuration for Firgate NVR.


Languages

Language:Makefile 100.0%