From 3682303355987de3cee361223836dfc1f3d2169c Mon Sep 17 00:00:00 2001 From: AbdBarho Date: Fri, 14 Oct 2022 22:42:34 +0200 Subject: [PATCH] Update (#139) ### Update versions - auto: https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/03d62538aebeff51713619fe808c953bdb70193d - History Tab IS NOT WORKING YET! #138 - hlky: https://github.com/sd-webui/stable-diffusion-webui/commit/fd51bab1ec03543eb57faa954caab879ef2bafe7 - lstein: https://github.com/invoke-ai/InvokeAI/commit/fe2a2cfc8b6156805c420c026c5ef8bbb256899e Closes #102 the config file has been moved to `data/config/auto` --- data/.gitignore | 2 + docker-compose.yml | 4 -- services/AUTOMATIC1111/Dockerfile | 8 +++- services/AUTOMATIC1111/config.json | 71 +----------------------------- services/AUTOMATIC1111/mount.sh | 11 ++++- services/hlky/Dockerfile | 2 +- services/lstein/Dockerfile | 2 +- 7 files changed, 20 insertions(+), 80 deletions(-) diff --git a/data/.gitignore b/data/.gitignore index c77902d..36b7867 100644 --- a/data/.gitignore +++ b/data/.gitignore @@ -1,5 +1,7 @@ # for all of the stuff downloaded by transformers, pytorch, and others /.cache +# for UIs +/config # for all stable diffusion models (main, waifu diffusion, etc..) /StableDiffusion # others diff --git a/docker-compose.yml b/docker-compose.yml index 3f1e392..a4e9412 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -34,10 +34,6 @@ services: <<: *base_service profiles: ["auto"] build: ./services/AUTOMATIC1111 - volumes: - - *v1 - - *v2 - - ./services/AUTOMATIC1111/config.json:/stable-diffusion-webui/config.json environment: - CLI_ARGS=--allow-code --medvram diff --git a/services/AUTOMATIC1111/Dockerfile b/services/AUTOMATIC1111/Dockerfile index 43e1fd5..2b163c8 100644 --- a/services/AUTOMATIC1111/Dockerfile +++ b/services/AUTOMATIC1111/Dockerfile @@ -46,10 +46,14 @@ ENV ROOT=/stable-diffusion-webui \ COPY --from=download /git/ ${ROOT} RUN pip install --prefer-binary --no-cache-dir -r ${ROOT}/repositories/CodeFormer/requirements.txt +# TODO: move to top +RUN apt-get install jq moreutils -y + + # Note: don't update the sha of previous versions because the install will take forever # instead, update the repo state in a later step -ARG SHA=6a9ea5b41cf92cd9e980349bb5034439f4e7a58b +ARG SHA=03d62538aebeff51713619fe808c953bdb70193d RUN <