#101 Explicitly grant GPU access to container

Fix compose service name
This commit is contained in:
Joey Hafner 2023-10-16 22:42:01 -07:00
parent e5a296f276
commit cd31abe661

View File

@ -1,9 +1,16 @@
version: '3'
services:
nginx:
kasm:
image: linuxserver/kasm:latest
container_name: kasm_kasm
privileged: true
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
environment:
- KASM_PORT=443
- NVIDIA_VISIBLE_DEVICES=all