File size: 522 Bytes
fb1c45a 11c73cc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
version: "2"
services:
webui:
container_name: webui
image: marklin2009/dockerhub:aigc_1.0
# volumes:
# - /etc/localtime:/etc/localtime:ro
# - /mnt:/mnt
working_dir: /content/stable-diffusion-webui
# restart: on-failure
command: ./run.sh
tty: true
cap_add:
- SYS_PTRACE # 对docker开发CAP的gdb调试功能
environment:
NVIDIA_VISIBLE_DEVICES: all
runtime: nvidia
network_mode: host |