How can i enable hardware acceleration?

I have setupped immich stack using portainer, and it worked well. But i have to setup hardware acceleration, how can i setup it?
Was this page helpful?