Add hardware acceleration support
This commit is contained in:
+2
-2
@@ -29,8 +29,8 @@ services:
|
|||||||
#cap_add:
|
#cap_add:
|
||||||
# - SYS_NICE
|
# - SYS_NICE
|
||||||
# Optional for hardware acceleration
|
# Optional for hardware acceleration
|
||||||
#devices:
|
devices:
|
||||||
# - /dev/dri:/dev/dri # For Intel/AMD GPU acceleration (VA-API)
|
- /dev/dri:/dev/dri # For Intel/AMD GPU acceleration (VA-API)
|
||||||
# Uncomment the following lines for NVIDIA GPU support
|
# Uncomment the following lines for NVIDIA GPU support
|
||||||
# NVidia GPU support (requires NVIDIA Container Toolkit)
|
# NVidia GPU support (requires NVIDIA Container Toolkit)
|
||||||
#deploy:
|
#deploy:
|
||||||
|
|||||||
Reference in New Issue
Block a user