Docker-compose.yml

Hello! Please help with docker-compose.yml
I want to run Freegate with Nvidia hardware acceleration.
I installed NVIDIA in docker according to this article:
push

Checked the installation according to this page.
Push

in Frigate.yaml specified:

ffmpeg:
  hwaccel_args: preset-nvidia-h264

after that, the cameras turned off.
I think I missed this step.
push

when entering the command line:

nvidia-smi


How do I create a docker-compose.yml to make hardware acceleration work?
Can I do this using the Home Assistant Porteiner app?

this is a frigate question not a home assistant question, you should ask on the frigate github

1 Like