Commit
·
fb1c45a
1
Parent(s):
ee1a339
Upload dev.yaml
Browse files
dev.yaml
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version: "2"
|
| 2 |
+
services:
|
| 3 |
+
webui:
|
| 4 |
+
container_name: webui
|
| 5 |
+
image: marklin2009/dockerhub:aigc_1.0
|
| 6 |
+
# volumes:
|
| 7 |
+
# - /etc/localtime:/etc/localtime:ro
|
| 8 |
+
# - /mnt:/mnt
|
| 9 |
+
working_dir: /content/stable-diffusion-webui
|
| 10 |
+
# restart: on-failure
|
| 11 |
+
command: ./run.sh
|
| 12 |
+
tty: true
|
| 13 |
+
cap_add:
|
| 14 |
+
- SYS_PTRACE # 对docker开发CAP的gdb调试功能
|
| 15 |
+
environment:
|
| 16 |
+
NVIDIA_VISIBLE_DEVICES: all
|
| 17 |
+
runtime: nvidia
|
| 18 |
+
network: host
|