mirror of
https://github.com/photoprism/photoprism.git
synced 2025-09-26 21:01:58 +08:00
Develop: Update compose.nvidia.yaml configuration #4986
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -3,6 +3,7 @@ services:
|
||||
photoprism:
|
||||
build: .
|
||||
image: photoprism/photoprism:develop
|
||||
runtime: nvidia
|
||||
depends_on:
|
||||
- mariadb
|
||||
- dummy-webdav
|
||||
@@ -113,7 +114,7 @@ services:
|
||||
PHOTOPRISM_THUMB_UNCACHED: "true" # enables on-demand thumbnail rendering (high memory and cpu usage)
|
||||
TF_CPP_MIN_LOG_LEVEL: 1 # show TensorFlow log messages for development
|
||||
## Run/install on first startup, see https://github.com/photoprism/photoprism/blob/develop/scripts/dist/Makefile:
|
||||
PHOTOPRISM_INIT: "https tensorflow" # common options: update https tensorflow tensorflow-gpu intel gpu davfs
|
||||
PHOTOPRISM_INIT: "https tensorflow-gpu" # common options: update https tensorflow tensorflow-gpu intel gpu davfs
|
||||
## Nvidia Video Transcoding (https://docs.photoprism.app/getting-started/advanced/transcoding/#nvidia-container-toolkit):
|
||||
NVIDIA_VISIBLE_DEVICES: "all"
|
||||
NVIDIA_DRIVER_CAPABILITIES: "all"
|
||||
@@ -140,8 +141,8 @@ services:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: "nvidia"
|
||||
capabilities: [gpu]
|
||||
count: 1
|
||||
capabilities: [ gpu ]
|
||||
mariadb:
|
||||
extends:
|
||||
file: ./compose.yaml
|
||||
|
Reference in New Issue
Block a user