mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2025-10-27 08:14:26 -04:00
v2 (#108)
### Update versions
- auto:
3f417566b0
### Breaking changes:
* renamed `automatic-1111` service to `auto`
* the `cache` folder is now deprecated, replaced with `data` (see
migration guide below)
* `embeddings` folder has been moved to `data/embeddings`
* use GFPGAN 1.4
### Migration Guide
Note: in theory, running the command
```
docker compose --profile download up --build
```
is all you need to use the new version, however, this means you will
also have to download everything again. A new script is available under
`scripts/migratev1tov2.sh` that will copy models to the new structure
and should get you most of the way, run
```bash
./scripts/migratev1tov2.sh
```
or you can manually inspect the script and copy the files
After that, run
```
docker compose --profile download up --build
```
to validate everything.
This commit is contained in:
@@ -4,7 +4,7 @@ x-base_service: &base_service
|
||||
ports:
|
||||
- "7860:7860"
|
||||
volumes:
|
||||
- &v1 ./cache:/cache
|
||||
- &v1 ./data:/data
|
||||
- &v2 ./output:/output
|
||||
deploy:
|
||||
resources:
|
||||
@@ -30,7 +30,7 @@ services:
|
||||
environment:
|
||||
- CLI_ARGS=--optimized-turbo
|
||||
|
||||
automatic1111: &automatic
|
||||
auto: &automatic
|
||||
<<: *base_service
|
||||
profiles: ["auto"]
|
||||
build: ./services/AUTOMATIC1111
|
||||
@@ -38,11 +38,10 @@ services:
|
||||
- *v1
|
||||
- *v2
|
||||
- ./services/AUTOMATIC1111/config.json:/stable-diffusion-webui/config.json
|
||||
- ./embeddings:/stable-diffusion-webui/embeddings
|
||||
environment:
|
||||
- CLI_ARGS=--allow-code --medvram
|
||||
|
||||
automatic1111-cpu:
|
||||
auto-cpu:
|
||||
<<: *automatic
|
||||
profiles: ["auto-cpu"]
|
||||
deploy: {}
|
||||
|
||||
Reference in New Issue
Block a user