Allow to customize the render GID to match the one on the host (#515)

This commit is contained in:
Dr-Shadow 2026-06-01 15:31:33 +02:00 committed by GitHub
parent 00320972dc
commit 7be4ece224
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -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,

View file

@ -15,4 +15,4 @@ services:
- /dev/dri
group_add:
- video
- render
- ${RENDER_GID:-render}