diff --git a/docker-compose.yml b/docker-compose.yml index 71cda59..02f5929 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,9 +4,8 @@ x-base_service: &base_service ports: - "${WEBUI_PORT:-7860}:7860" volumes: - - &v1 /vat/backups/StableDiffusion/data:/data + - &v1 ./data:/data - &v2 ./output:/output - - ./models_on_nvme:/data/models/Stable-diffusion/nvme stop_signal: SIGKILL tty: true deploy: @@ -32,8 +31,7 @@ services: build: ./services/AUTOMATIC1111 image: sd-auto:62 environment: - # - CLI_ARGS=--allow-code --medvram --xformers --enable-insecure-extension-access --api --distributed-remotes testrig_ftw3:192.168.1.41:7860 velka7:192.168.1.20:7860 --distributed-skip-verify-remotes --distributed-remotes-autosave --distributed-debug - - CLI_ARGS=--allow-code --xformers --enable-insecure-extension-access --api --listen + - CLI_ARGS=--allow-code --xformers --enable-insecure-extension-access --api auto-cpu: <<: *automatic diff --git a/services/comfy/Dockerfile b/services/comfy/Dockerfile index c5f0acf..6e6d53a 100644 --- a/services/comfy/Dockerfile +++ b/services/comfy/Dockerfile @@ -25,18 +25,13 @@ WORKDIR ${ROOT} ARG BRANCH=master SHA=8607c2d42d10b0108de02528e813cc703e58813f RUN --mount=type=cache,target=/root/.cache/pip \ - ls -la models && \ - ls -la models/vae_approx && \ git fetch && \ git checkout ${BRANCH} && \ - echo cach_bust 2 && \ - git pull && \ - # git reset --hard ${SHA} && \ + git reset --hard ${SHA} && \ pip install -r requirements.txt # add info COPY . /docker/ -RUN ls -la /docker RUN cp /docker/extra_model_paths.yaml ${ROOT} ENV NVIDIA_VISIBLE_DEVICES=all