mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2024-12-12 16:47:28 +01:00
92a8f7beee
Fixes an issue with tcp not being found in the protocols list
27 lines
622 B
YAML
27 lines
622 B
YAML
version: "3.2"
|
|
services:
|
|
koboldai:
|
|
build: .
|
|
environment:
|
|
- DISPLAY=${DISPLAY}
|
|
network_mode: "host"
|
|
volumes:
|
|
- /tmp/.X11-unix:/tmp/.X11-unix
|
|
- /etc/protocols:/etc/protocols:ro
|
|
- ../:/content/
|
|
- $HOME/.Xauthority:/home/micromamba/.Xauthority:rw
|
|
devices:
|
|
- /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
|