mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-01 20:35:06 +08:00
28 lines
621 B
YAML
28 lines
621 B
YAML
services:
|
|
webui:
|
|
build: .
|
|
volumes:
|
|
- type: bind
|
|
source: ./models
|
|
target: /webui/models
|
|
- type: bind
|
|
source: ./outputs
|
|
target: /webui/outputs
|
|
- type: bind
|
|
source: ./extensions
|
|
target: /webui/extensions
|
|
- type: bind
|
|
source: ./embeddings
|
|
target: /webui/embeddings
|
|
- type: bind
|
|
source: ./configs
|
|
target: /webui/configs
|
|
ports:
|
|
- 7860:7860
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: all
|
|
capabilities: [gpu] |