0.14.1 initial dayglo
This commit is contained in:
@@ -0,0 +1,79 @@
|
||||
services:
|
||||
frigate:
|
||||
image: ghcr.io/blakeblackshear/frigate:stable
|
||||
#image: ghcr.io/blakeblackshear/frigate:stable-tensorrt
|
||||
#build:
|
||||
# context: .
|
||||
# dockerfile: Dockerfile.frigate
|
||||
container_name: frigate
|
||||
# restart: unless-stopped
|
||||
restart: always
|
||||
# user: vscode
|
||||
privileged: true
|
||||
#shm_size: "256mb"
|
||||
shm_size: "512mb"
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- frigate-config:/config/
|
||||
- frigate-trt-models:/trt-models/
|
||||
- frigate-storage:/media/frigate/
|
||||
#- frigate-nfs:/media/frigate-nfs/
|
||||
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
|
||||
target: /tmp/cache
|
||||
tmpfs:
|
||||
size: 1000000000
|
||||
- /dev/bus/usb:/dev/bus/usb
|
||||
- /dev/dri:/dev/dri # for intel hwaccel, needs to be updated for your hardware
|
||||
- /dev/apex_0:/dev/apex_0 # Passes a PCIe Coral, follow driver instructions here https://coral.ai/docs/m2/get-started/#2a-on-linux
|
||||
- /dev/dri/renderD128:/dev/dri/renderD128
|
||||
- ./custom-start.sh:/custom-start.sh
|
||||
entrypoint: ["/bin/bash", "/custom-start.sh"]
|
||||
#network: host
|
||||
ports:
|
||||
- "1883:1883"
|
||||
- "1935:1935"
|
||||
- "1984:1984"
|
||||
- "5000:5000"
|
||||
- "5001:5001"
|
||||
- "8000:8000"
|
||||
- "8088:8080"
|
||||
- "8554:8554"
|
||||
- "8555:8555/tcp"
|
||||
- "8555:8555/udp"
|
||||
# network_mode: host
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- YOLO_MODELS=${YOLO_MODELS}
|
||||
- LIBVA_DRIVER_NAME=radeonsi
|
||||
- TZ=${TZ-UTC}
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.9'
|
||||
memory: 5000M
|
||||
%%%%%
|
||||
volumes:
|
||||
frigate-config:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: 'none'
|
||||
o: 'bind'
|
||||
device: '/${BASEDIR}/frigate/config/'
|
||||
frigate-trt-models:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: 'none'
|
||||
o: 'bind'
|
||||
device: '/${BASEDIR}/frigate/trt-models/'
|
||||
frigate-storage:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: 'none'
|
||||
o: 'bind,size=50G'
|
||||
device: '/${STORAGEDIR}'
|
||||
# frigate-nfs:
|
||||
# driver_opts:
|
||||
# type: 'nfs'
|
||||
# o: 'addr=omv,nfsvers=4,nolock,soft,rw,timeo=600,nofail'
|
||||
# device: ':/Frigate'
|
||||
Reference in New Issue
Block a user