From 58293bca6876870c82a892089803ed086d274578 Mon Sep 17 00:00:00 2001 From: komodo Date: Fri, 6 Feb 2026 11:20:22 +0100 Subject: [PATCH] [Komodo] admin: Write Stack File: update compose.yaml --- compose.yaml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/compose.yaml b/compose.yaml index ca223b5..11678bb 100644 --- a/compose.yaml +++ b/compose.yaml @@ -42,12 +42,19 @@ services: POSTGRES_USER: postgres MACHINE_LEARNING_MODEL_INTRA_OP_THREADS: 2 NVIDIA_VISIBLE_DEVICES: all + NVIDIA_DRIVER_CAPABILITIES: all volumes: - /dev/bus/usb:/dev/bus/usb - /app-config/cache:/cache networks: - immich_network - + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: all # oder 1 + capabilities: [gpu] immich-server: container_name: immich_server image: ghcr.io/immich-app/immich-server:release @@ -67,6 +74,8 @@ services: POSTGRES_USER: postgres PUID: 1000 PGID: 1000 + NVIDIA_VISIBLE_DEVICES: all + NVIDIA_DRIVER_CAPABILITIES: all ports: - "2283:2283" volumes: @@ -74,7 +83,13 @@ services: - /etc/localtime:/etc/localtime:ro networks: - immich_network - + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: all # oder 1 + capabilities: [gpu] volumes: next: driver: local