version: "3.7" services: app_proxy: environment: APP_HOST: frigate_web_1 APP_PORT: 8971 PROXY_AUTH_ADD: "false" web: privileged: true # this may not be necessary for all setups restart: on-failure image: ghcr.io/blakeblackshear/frigate:0.17.2@sha256:d4351369984d4a9e2a49ac59736f6490856a7ea11f7790040746d21496967010 shm_size: "128mb" # update for your cameras based on calculation above volumes: - /etc/localtime:/etc/localtime:ro - ${APP_DATA_DIR}/data/config:/config - ${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}