mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-03-05 21:44:53 +08:00
16 lines
305 B
YAML
16 lines
305 B
YAML
|
services:
|
||
|
webui:
|
||
|
build: .
|
||
|
volumes:
|
||
|
- type: bind
|
||
|
source: ./models
|
||
|
target: /webui/models
|
||
|
ports:
|
||
|
- 7860:7860
|
||
|
deploy:
|
||
|
resources:
|
||
|
reservations:
|
||
|
devices:
|
||
|
- driver: nvidia
|
||
|
count: all
|
||
|
capabilities: [gpu]
|