UnderController
commited on
Commit
•
5583219
1
Parent(s):
11c73cc
Upload dev_v1.yaml
Browse files- dev_v1.yaml +18 -0
dev_v1.yaml
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
version: "2"
|
2 |
+
services:
|
3 |
+
webui:
|
4 |
+
container_name: webui
|
5 |
+
image: marklin2009/dockerhub:aigc_1.1
|
6 |
+
volumes:
|
7 |
+
# - /etc/localtime:/etc/localtime:ro
|
8 |
+
- /sd_weights:/webui_weights
|
9 |
+
working_dir: /content
|
10 |
+
restart: on-failure
|
11 |
+
command: bash
|
12 |
+
tty: true
|
13 |
+
cap_add:
|
14 |
+
- SYS_PTRACE # 对docker开发CAP的gdb调试功能
|
15 |
+
environment:
|
16 |
+
NVIDIA_VISIBLE_DEVICES: all
|
17 |
+
runtime: nvidia
|
18 |
+
network_mode: host
|