mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-01-28 16:20:25 +01:00
Merge pull request #74 from AngryBeeSec/patch-1
Update docker-compose.yml
This commit is contained in:
commit
436d492b42
@ -1,4 +1,4 @@
|
||||
version: "2"
|
||||
version: "3.2"
|
||||
services:
|
||||
koboldai:
|
||||
build: .
|
||||
@ -10,7 +10,16 @@ services:
|
||||
- ../:/content/
|
||||
- $HOME/.Xauthority:/home/micromamba/.Xauthority:rw
|
||||
devices:
|
||||
- /dev/kfd
|
||||
- /dev/dri
|
||||
- /dev/nvidia0:/dev/nvidia0
|
||||
- /dev/nvidiactl:/dev/nvidiactl
|
||||
- /dev/nvidia-uvm:/dev/nvidia-uvm
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
device_ids: ['0']
|
||||
capabilities: [gpu]
|
||||
group_add:
|
||||
- video
|
||||
|
Loading…
x
Reference in New Issue
Block a user