From 91817f4ebf8846a2dd5aa418d56ffff36d56b271 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Wed, 29 Sep 2021 10:23:09 +0200 Subject: [PATCH] Docker: Add /dev/dri/card0 to docker-compose.yml example #1337 --- docker-compose.yml | 1 + docker/examples/docker-compose.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 82e03468e..889bdc1a3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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" diff --git a/docker/examples/docker-compose.yml b/docker/examples/docker-compose.yml index 6aad42f24..d59c06d40 100644 --- a/docker/examples/docker-compose.yml +++ b/docker/examples/docker-compose.yml @@ -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]):