KoboldAI-Client/docker-cuda/docker-compose.yml

17 lines
325 B
YAML

version: "2"
services:
koboldai:
build: .
environment:
- DISPLAY=${DISPLAY}
network_mode: "host"
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
- ../:/content/
- $HOME/.Xauthority:/home/micromamba/.Xauthority:rw
devices:
- /dev/kfd
- /dev/dri
group_add:
- video