From cdec80288e624b6800f4acd7dc5cf809636b57a3 Mon Sep 17 00:00:00 2001 From: Steven Harris Date: Sun, 11 Jan 2026 14:06:19 -0800 Subject: [PATCH] Updated GPU resource reservations to docker-compose Original version was failing on Ubuntu EC2 instance with GPU - error message was: 'validating /home/ubuntu/.openrag/tui/docker-compose.gpu.yml: services.openrag-backend Additional property gpus is not allowed Command exited with status 15 --- docker-compose.gpu.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docker-compose.gpu.yml b/docker-compose.gpu.yml index 4496c4ac..b849cd3b 100644 --- a/docker-compose.gpu.yml +++ b/docker-compose.gpu.yml @@ -3,5 +3,10 @@ services: environment: - NVIDIA_DRIVER_CAPABILITIES=compute,utility - NVIDIA_VISIBLE_DEVICES=all - gpus: all - + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: all + capabilities: [gpu]