docker / dev.yaml
UnderController's picture
Upload dev.yaml
11c73cc
raw
history blame
No virus
522 Bytes
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