-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
32 lines (31 loc) · 831 Bytes
/
Copy pathdocker-compose.yaml
File metadata and controls
32 lines (31 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
services:
sd-webui:
image: registry.cn-hangzhou.aliyuncs.com/joybo/stablediffusion-webui:v2025.04.14-action
container_name: sd-webui
hostname: sd-webui
environment:
- TZ=Asia/Shanghai
- HF_ENDPOINT=https://hf-mirror.com
volumes:
- ./:/app/stable-diffusion-webui
- E:\ComfyUI\models:/app/stable-diffusion-webui/models
ports:
- "7860:7860"
runtime: nvidia
deploy:
resources:
reservations:
devices:
- driver: nvidia
# device_ids: ['0']
capabilities: [gpu]
stdin_open: true
tty: true
restart: no
networks:
- sd-webui
entrypoint: ./webui.sh --listen --port=7860 --allow-code --api --xformers --enable-insecure-extension-access
networks:
sd-webui:
driver: bridge
name: sd-webui