parent
8623c73741
commit
9e7979b756
@ -27,7 +27,7 @@ services:
|
|||||||
<<: *base_service
|
<<: *base_service
|
||||||
profiles: ["auto"]
|
profiles: ["auto"]
|
||||||
build: ./services/AUTOMATIC1111
|
build: ./services/AUTOMATIC1111
|
||||||
image: sd-auto:16
|
image: sd-auto:17
|
||||||
environment:
|
environment:
|
||||||
- CLI_ARGS=--allow-code --medvram --xformers
|
- CLI_ARGS=--allow-code --medvram --xformers
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ services:
|
|||||||
<<: *base_service
|
<<: *base_service
|
||||||
profiles: ["hlky"]
|
profiles: ["hlky"]
|
||||||
build: ./services/hlky/
|
build: ./services/hlky/
|
||||||
image: sd-hlky:8
|
image: sd-hlky:9
|
||||||
environment:
|
environment:
|
||||||
- CLI_ARGS=--optimized-turbo
|
- CLI_ARGS=--optimized-turbo
|
||||||
- USE_STREAMLIT=0
|
- USE_STREAMLIT=0
|
||||||
|
@ -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
|
# Note: don't update the sha of previous versions because the install will take forever
|
||||||
# instead, update the repo state in a later step
|
# instead, update the repo state in a later step
|
||||||
|
|
||||||
ARG SHA=98947d173e3f1667eba29c904f681047dea9de90
|
ARG SHA=47a44c7e421b98ca07e92dbf88769b04c9e28f86
|
||||||
RUN <<EOF
|
RUN <<EOF
|
||||||
cd stable-diffusion-webui
|
cd stable-diffusion-webui
|
||||||
git fetch
|
git fetch
|
||||||
@ -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
|
sed -i 's/os.rename(tmpdir, target_dir)/shutil.move(tmpdir,target_dir)/' ${ROOT}/modules/ui_extensions.py
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
WORKDIR ${ROOT}/repositories/stable-diffusion
|
WORKDIR ${ROOT}
|
||||||
ENV CLI_ARGS=""
|
ENV CLI_ARGS=""
|
||||||
EXPOSE 7860
|
EXPOSE 7860
|
||||||
ENTRYPOINT ["/docker/entrypoint.sh"]
|
ENTRYPOINT ["/docker/entrypoint.sh"]
|
||||||
# run, -u to not buffer stdout / stderr
|
# 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}
|
||||||
|
@ -25,7 +25,7 @@ EOF
|
|||||||
|
|
||||||
RUN apt-get update && apt install libsndfile1 ffmpeg -y && apt-get clean
|
RUN apt-get update && apt install libsndfile1 ffmpeg -y && apt-get clean
|
||||||
|
|
||||||
ARG BRANCH=master SHA=09b64d4f759c44c7c6bc4d433ddd8e964d48b854
|
ARG BRANCH=dev SHA=269107a104fc9fee3201eb2c56cf7adb3d063e4b
|
||||||
RUN <<EOF
|
RUN <<EOF
|
||||||
cd stable-diffusion
|
cd stable-diffusion
|
||||||
git fetch
|
git fetch
|
||||||
|
@ -6,4 +6,5 @@ general:
|
|||||||
outdir_txt2img: /output/txt2img-samples
|
outdir_txt2img: /output/txt2img-samples
|
||||||
outdir_img2img: /output/img2img-samples
|
outdir_img2img: /output/img2img-samples
|
||||||
outdir_img2txt: /output/img2txt
|
outdir_img2txt: /output/img2txt
|
||||||
|
optimized: True
|
||||||
optimized_turbo: True
|
optimized_turbo: True
|
||||||
|
Loading…
Reference in New Issue
Block a user