CoolFace
Apppublic

beea/open-webui

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
docker-compose.a1111-test.yaml32 linesDownload Raw Back to root
1# This is an overlay that spins up stable-diffusion-webui for integration testing2# This is not designed to be used in production3services:4  stable-diffusion-webui:5    # Not built for ARM646    platform: linux/amd647    image: ghcr.io/neggles/sd-webui-docker:latest8    restart: unless-stopped9    environment:10      CLI_ARGS: "--api --use-cpu all --precision full --no-half --skip-torch-cuda-test --ckpt /empty.pt --do-not-download-clip --disable-nan-check --disable-opt-split-attention"11      PYTHONUNBUFFERED: "1"12      TERM: "vt100"13      SD_WEBUI_VARIANT: "default"14    # Hack to get container working on Apple Silicon15    # Rosetta creates a conflict ${HOME}/.cache folder16    entrypoint: /bin/bash17    command:18      - -c19      - |20        export HOME=/root-home21        rm -rf $${HOME}/.cache22        /docker/entrypoint.sh python -u webui.py --listen --port $${WEBUI_PORT} --skip-version-check $${CLI_ARGS}23    volumes:24      - ./test/test_files/image_gen/sd-empty.pt:/empty.pt25 26  open-webui:27    environment:28      ENABLE_IMAGE_GENERATION: "true"29      AUTOMATIC1111_BASE_URL: http://stable-diffusion-webui:786030      IMAGE_SIZE: "64x64"31      IMAGE_STEPS: "3"32