From 7be4ece2249ff98865bf2994ab40f22ac8872385 Mon Sep 17 00:00:00 2001 From: Dr-Shadow Date: Mon, 1 Jun 2026 15:31:33 +0200 Subject: [PATCH] Allow to customize the render GID to match the one on the host (#515) --- .env.example | 3 ++- docker/gpu.amd.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index e3d6a13..d8c872b 100644 --- a/.env.example +++ b/.env.example @@ -139,8 +139,9 @@ SEARXNG_INSTANCE=http://localhost:8080 # COMPOSE_FILE=docker-compose.yml:docker/gpu.nvidia.yml # COMPOSE_FILE=docker-compose.yml;docker/gpu.nvidia.yml #(Windows) # -# AMD ROCm (requires ROCm drivers on the host): +# AMD ROCm (requires ROCm drivers on the host and the GID of the render group): # COMPOSE_FILE=docker-compose.yml:docker/gpu.amd.yml +# RENDER_GID=992 # # These overlays only expose the GPU devices. The slim Odysseus image # still needs CUDA/ROCm userspace via Cookbook -> Dependencies (vLLM, diff --git a/docker/gpu.amd.yml b/docker/gpu.amd.yml index 6a0ac39..6d427c8 100644 --- a/docker/gpu.amd.yml +++ b/docker/gpu.amd.yml @@ -15,4 +15,4 @@ services: - /dev/dri group_add: - video - - render + - ${RENDER_GID:-render}