umbrel-apps/frigate/docker-compose.yml
Leo ba57bc9e51
App Submission: Frigate (#843)
Co-authored-by: nmfretz <nmfretz@gmail.com>
2024-02-23 14:24:03 -08:00

31 lines
962 B
YAML

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
image: ghcr.io/blakeblackshear/frigate:0.12.1@sha256:bb7f7e76a13eccef0b12704e5851cc774a12af1f12df387d6a70a796a3e938c3
shm_size: "128mb" # update for your cameras based on calculation above
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
environment:
FRIGATE_RTSP_PASSWORD: ${APP_PASSWORD}