我尝试用docker部署失败了,GPU显示 error GPU
frigate:
container_name: frigate
privileged: true # this may not be necessary for all setups
restart: always
image: ghcr.io/blakeblackshear/frigate:stable
shm_size: "64mb" # update for your cameras based on calculation above
devices:
- /dev/dri/renderD128:/dev/dri/renderD128 # For intel hwaccel, needs to be updated for your hardware
volumes:
- ./frigate/config:/config
- ./frigate/storage:/media/frigate
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "985:5000"
- "986:8554" # RTSP feeds
- "987:8555/tcp" # WebRTC over tcp
- "987:8555/udp" # WebRTC over udp
environment:
TZ: "Asia/Shanghai"
FRIGATE_RTSP_PASSWORD: "123456"
LIBVA_DRIVER_NAME: "i965"
network_mode: "bridge"
不过github上查到了有个版本可以在dsm7上使用google的tpu ,同样有白裙和谷歌计算棒的网友可以看看能否实现
https://github.com/blakeblackshear/frigate/discussions/364
https://github.com/weltenwort/frigate-synology-dsm7 |