Skip to content

Commit

Permalink
Update Versions (AbdBarho#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdBarho committed Nov 20, 2022
1 parent 8623c73 commit 9e7979b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ services:
<<: *base_service
profiles: ["auto"]
build: ./services/AUTOMATIC1111
image: sd-auto:16
image: sd-auto:17
environment:
- CLI_ARGS=--allow-code --medvram --xformers

Expand All @@ -42,7 +42,7 @@ services:
<<: *base_service
profiles: ["hlky"]
build: ./services/hlky/
image: sd-hlky:8
image: sd-hlky:9
environment:
- CLI_ARGS=--optimized-turbo
- USE_STREAMLIT=0
Expand Down
6 changes: 3 additions & 3 deletions services/AUTOMATIC1111/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ RUN pip install opencv-python-headless \
# 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=98947d173e3f1667eba29c904f681047dea9de90
ARG SHA=47a44c7e421b98ca07e92dbf88769b04c9e28f86
RUN <<EOF
cd stable-diffusion-webui
git fetch
Expand All @@ -88,9 +88,9 @@ mv ${ROOT}/style.css ${ROOT}/user.css
sed -i 's/os.rename(tmpdir, target_dir)/shutil.move(tmpdir,target_dir)/' ${ROOT}/modules/ui_extensions.py
EOF

WORKDIR ${ROOT}/repositories/stable-diffusion
WORKDIR ${ROOT}
ENV CLI_ARGS=""
EXPOSE 7860
ENTRYPOINT ["/docker/entrypoint.sh"]
# run, -u to not buffer stdout / stderr
CMD python3 -u ../../webui.py --listen --port 7860 --ckpt-dir ${ROOT}/models/Stable-diffusion ${CLI_ARGS}
CMD python3 -u webui.py --listen --port 7860 ${CLI_ARGS}
2 changes: 1 addition & 1 deletion services/hlky/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ EOF

RUN apt-get update && apt install libsndfile1 ffmpeg -y && apt-get clean

ARG BRANCH=master SHA=09b64d4f759c44c7c6bc4d433ddd8e964d48b854
ARG BRANCH=dev SHA=269107a104fc9fee3201eb2c56cf7adb3d063e4b
RUN <<EOF
cd stable-diffusion
git fetch
Expand Down
1 change: 1 addition & 0 deletions services/hlky/userconfig_streamlit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ general:
outdir_txt2img: /output/txt2img-samples
outdir_img2img: /output/img2img-samples
outdir_img2txt: /output/img2txt
optimized: True
optimized_turbo: True

0 comments on commit 9e7979b

Please sign in to comment.