mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-01 12:25:06 +08:00
Added volumes for outputs, extensions, embeddings and configs so that they are persisted across restarts
This commit is contained in:
parent
d150bd0886
commit
3335f4ad0e
12
compose.yml
12
compose.yml
@ -5,6 +5,18 @@ services:
|
|||||||
- type: bind
|
- type: bind
|
||||||
source: ./models
|
source: ./models
|
||||||
target: /webui/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:
|
ports:
|
||||||
- 7860:7860
|
- 7860:7860
|
||||||
deploy:
|
deploy:
|
||||||
|
Loading…
Reference in New Issue
Block a user