Having tried the upgrade again from DF to EE I find I can run Frigate via the official TN app (v0.14) but when I try via dockge (jailmaker/dockge via @Stux method) I can’t get anywhere. The container starts and says “running” and “healthy” but then restarts, ad infinitum.
I know the official app has a tickbox which says “Mount USB bus” to the container. No matter which configuration I try (see the docker compose I am trying) I caan’t get it to run.
If I can get Frigate running in dockge it means I can play with the earlier Frigate image; v0.14 is too resource intensive for my old HP Gen8 microserver whereas v0.13 (which was running under DF) is no burden.
(The alternative would be to get the official app to downgrade but it comes with 0.14 hardwired and there’s no easy way to trick it down to 0.13, at least not with my meagre skills).
I’d certainly appreciate any guidance but even if someone could simply confirm “yes, dockge works with the USB Coral TPU on Electric Eel” at least I know to carry on trying.
Here’s a docker compose example which I have been trying, to no avail, even if I hash out the mount points, or the TPU or the GPU or both or none or all of them!
version: "3.9"
services:
frigate:
container_name: frigate013
privileged: true # this may not be necessary for all setups
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:0.13.2
shm_size: 64mb # update for your cameras based on calculation above
devices:
# HOST : CONTAINER
- /dev/bus/usb:/dev/bus/usb
- /dev/dri/-card0:/dev/dri/-card0
volumes:
# HOST : CONTAINER
- /etc/localtime:/etc/localtime:ro
- type: tmpfs
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- 5000:5000
- 8554:8554 # RTSP feeds
- 8555:8555/tcp # WebRTC over tcp
- 8555:8555/udp # WebRTC over udp
environment:
PLUS_API_KEY:##############
networks: {}
Should I try the dockge offficial app - will that help? What else can I try?
Thanks!
EB