Docker: Add /dev/dri/card0 to docker-compose.yml example #1337

This commit is contained in:
Michael Mayer 2021-09-29 10:23:09 +02:00
parent ba002b0dcc
commit 91817f4ebf
2 changed files with 2 additions and 0 deletions

View file

@ -71,6 +71,7 @@ services:
# devices:
# - "/dev/video11:/dev/video11" # Video4Linux (h264_v4l2m2m)
# - "/dev/dri/renderD128:/dev/dri/renderD128" # Intel GPU
# - "/dev/dri/card0:/dev/dri/card0"
working_dir: "/go/src/github.com/photoprism/photoprism"
volumes:
- ".:/go/src/github.com/photoprism/photoprism"

View file

@ -92,6 +92,7 @@ services:
# devices:
# - "/dev/video11:/dev/video11" # Video4Linux (h264_v4l2m2m)
# - "/dev/dri/renderD128:/dev/dri/renderD128" # Intel GPU
# - "/dev/dri/card0:/dev/dri/card0"
working_dir: "/photoprism"
volumes:
# Your photo and video files ([local path]:[container path]):