Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App Submission: Frigate #843

Merged
merged 8 commits into from Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 14 additions & 0 deletions frigate/data/config.yml
@@ -0,0 +1,14 @@
mqtt:
enabled: False

cameras:
name_of_your_camera: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp://10.0.10.10:554/rtsp # <----- The stream you want to use for detection
roles:
- detect
detect:
enabled: False # <---- disable detection until you have a working camera feed
width: 1280 # <---- update for your camera's resolution
height: 720 # <---- update for your camera's resolution
Empty file added frigate/data/storage/.gitkeep
Empty file.
30 changes: 30 additions & 0 deletions frigate/docker-compose.yml
@@ -0,0 +1,30 @@
version: "3.7"

services:
app_proxy:
environment:
APP_HOST: frigate_web_1
APP_PORT: 5000
PROXY_AUTH_ADD: "false"

web:
privileged: true # this may not be necessary for all setups
restart: unless-stopped
arguser marked this conversation as resolved.
Show resolved Hide resolved
image: ghcr.io/blakeblackshear/frigate:0.12.1@sha256:bb7f7e76a13eccef0b12704e5851cc774a12af1f12df387d6a70a796a3e938c3
shm_size: "128mb" # update for your cameras based on calculation above
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know if there is a recommended share size that will work for almost everyone? Ideally users should be able to install the app and not have to worry about editing the compose file.

devices:
- /dev:/dev
volumes:
- /etc/localtime:/etc/localtime:ro
- ${APP_DATA_DIR}/data/config.yml:/config/config.yml
- ${APP_DATA_DIR}/data/storage:/media/frigate
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "8554:8554" # RTSP feeds
- "8555:8555/tcp" # WebRTC over tcp
- "8555:8555/udp" # WebRTC over udp
arguser marked this conversation as resolved.
Show resolved Hide resolved
environment:
FRIGATE_RTSP_PASSWORD: ${APP_PASSWORD}
34 changes: 34 additions & 0 deletions frigate/umbrel-app.yml
@@ -0,0 +1,34 @@
manifestVersion: 1
id: frigate
category: automation
name: Frigate
version: "0.12.1"
tagline: A complete and local NVR.
description: >-
A complete and local NVR designed for Home Assistant with AI object detection.
Uses OpenCV and Tensorflow to perform realtime object detection locally for IP cameras.


🛠️ SET-UP


- You can configure your cameras directly within the Frigate app, there is no need to manually edit the configuration files.


- Your RTSP password (if needed) is the "default app password" that is displayed on Frigate's page in the app store (shown after install).
releaseNotes: ""
developer: Blake Blackshear
website: https://frigate.video/
repo: https://github.com/blakeblackshear/frigate
support: https://github.com/blakeblackshear/frigate/issues
port: 5004
gallery:
- 1.jpg
- 2.jpg
- 3.jpg
path: ""
defaultUsername: ""
deterministicPassword: true
dependencies: []
submitter: ~dibref-labter
submission: https://github.com/getumbrel/umbrel-apps/pull/843