stable-diffusion-webui/docker/compose.yml
Peter Pan 50a6693208 update Dockerfile according to comments and move to separated folder
Co-authored-by: Lukas <lkoe@bluewin.ch>
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io>
2024-12-24 01:32:39 -05:00

28 lines
622 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]