From 17811d4fd3cf4f0f931e880304a5e00745d1bbe2 Mon Sep 17 00:00:00 2001 From: Matt Reeves Date: Sat, 16 Nov 2024 19:03:03 -0500 Subject: [PATCH] add gpu to kasm --- docker/kasm/docker-compose.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker/kasm/docker-compose.yml b/docker/kasm/docker-compose.yml index 34d6a2e..ec6813b 100644 --- a/docker/kasm/docker-compose.yml +++ b/docker/kasm/docker-compose.yml @@ -12,6 +12,13 @@ services: - 3000:3000 - 443:443 restart: unless-stopped + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: all + capabilities: [gpu] minio: command: server /data --console-address ":9001"