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

20 lines
395 B
YAML
Raw Normal View History

version: "2"
services:
koboldai:
build: .
environment:
- DISPLAY=${DISPLAY}
network_mode: "host"
security_opt:
- label:disable
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
2022-01-14 02:03:46 +01:00
- /etc/protocols:/etc/protocols:ro
- ../:/content/
- $HOME/.Xauthority:/root/.Xauthority:rw
devices:
- /dev/kfd
- /dev/dri
group_add:
- video