From 88a560279ce99820fba17ea25406fe5ce674091b Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Tue, 17 May 2022 04:23:27 +0200 Subject: [PATCH] Docker: Update docker-compose.yml examples --- docker-compose.yml | 6 +++--- docker/examples/arm64/docker-compose.yml | 2 +- docker/examples/docker-compose.yml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index efdce1132..b5fa460f6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -89,14 +89,14 @@ services: # PHOTOPRISM_FFMPEG_BITRATE: "32" # FFmpeg encoding bitrate limit in Mbit/s (default: 50) ## Share hardware devices with FFmpeg and TensorFlow (optional): # devices: - # - "/dev/dri:/dev/dri" # Intel ("intel") - # - "/dev/nvidia0:/dev/nvidia0" # Nvidia ("nvidia") + # - "/dev/dri:/dev/dri" # Intel QSV + # - "/dev/nvidia0:/dev/nvidia0" # Nvidia CUDA # - "/dev/nvidiactl:/dev/nvidiactl" # - "/dev/nvidia-modeset:/dev/nvidia-modeset" # - "/dev/nvidia-nvswitchctl:/dev/nvidia-nvswitchctl" # - "/dev/nvidia-uvm:/dev/nvidia-uvm" # - "/dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools" - # - "/dev/video11:/dev/video11" # Video4Linux ("raspberry") + # - "/dev/video11:/dev/video11" # Raspberry V4L2 working_dir: "/go/src/github.com/photoprism/photoprism" volumes: - ".:/go/src/github.com/photoprism/photoprism" diff --git a/docker/examples/arm64/docker-compose.yml b/docker/examples/arm64/docker-compose.yml index fcff5f239..ec1785c7b 100644 --- a/docker/examples/arm64/docker-compose.yml +++ b/docker/examples/arm64/docker-compose.yml @@ -102,7 +102,7 @@ services: # user: "1000:1000" ## Share hardware devices with FFmpeg and TensorFlow (optional): # devices: - # - "/dev/video11:/dev/video11" # Video4Linux ("raspberry") + # - "/dev/video11:/dev/video11" # Raspberry V4L2 working_dir: "/photoprism" # do not change or remove ## Storage Folders: "~" is a shortcut for your home directory, "." for the current directory volumes: diff --git a/docker/examples/docker-compose.yml b/docker/examples/docker-compose.yml index d04a0931c..4c5694f4c 100644 --- a/docker/examples/docker-compose.yml +++ b/docker/examples/docker-compose.yml @@ -93,14 +93,14 @@ services: # user: "1000:1000" ## Share hardware devices with FFmpeg and TensorFlow (optional): # devices: - # - "/dev/dri:/dev/dri" # Intel ("intel") - # - "/dev/nvidia0:/dev/nvidia0" # Nvidia ("nvidia") + # - "/dev/dri:/dev/dri" # Intel QSV + # - "/dev/nvidia0:/dev/nvidia0" # Nvidia CUDA # - "/dev/nvidiactl:/dev/nvidiactl" # - "/dev/nvidia-modeset:/dev/nvidia-modeset" # - "/dev/nvidia-nvswitchctl:/dev/nvidia-nvswitchctl" # - "/dev/nvidia-uvm:/dev/nvidia-uvm" # - "/dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools" - # - "/dev/video11:/dev/video11" # Video4Linux ("raspberry") + # - "/dev/video11:/dev/video11" # Raspberry V4L2 working_dir: "/photoprism" # do not change or remove ## Storage Folders: "~" is a shortcut for your home directory, "." for the current directory volumes: