This commit is contained in:
PassiveLemon 2023-04-01 23:46:57 -04:00
parent 1ace4e5004
commit d4f1b87b59
2 changed files with 9 additions and 5 deletions

View file

@ -4,16 +4,16 @@ x-base_service: &base_service
ports: ports:
- "7860:7860" - "7860:7860"
volumes: volumes:
- &v1 ./data:/data - &v1 ./data/:/data/
- &v2 ./output:/output - &v2 ./output/:/output/
stop_signal: SIGINT stop_signal: SIGINT
deploy: deploy:
resources: resources:
reservations: reservations:
devices: devices:
- driver: nvidia - driver: nvidia
device_ids: ['0'] device_ids: ['0']
capabilities: [gpu] capabilities: [gpu]
name: webui-docker name: webui-docker
@ -71,3 +71,5 @@ services:
image: sd-comfy:1 image: sd-comfy:1
environment: environment:
- CLI_ARGS= - CLI_ARGS=
volumes:
- *v2

View file

@ -6,6 +6,8 @@ declare -A MOUNTS
ROOT=/stable-diffusion ROOT=/stable-diffusion
sed -i 's/this\.allow_searchbox = true;/this.allow_searchbox = false;/' /stable-diffusion/web/lib/litegraph.core.js
# cache # cache
MOUNTS["/root/.cache"]=/data/.cache MOUNTS["/root/.cache"]=/data/.cache
# ui specific # ui specific