mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-04-07 15:34:16 +00:00
Update docker-compose.yml
This commit is contained in:
parent
b642d3a7f2
commit
18709fa512
1 changed files with 20 additions and 1 deletions
|
|
@ -20,6 +20,7 @@ services:
|
||||||
profiles: ["download"]
|
profiles: ["download"]
|
||||||
volumes:
|
volumes:
|
||||||
- *v1
|
- *v1
|
||||||
|
|
||||||
auto: &automatic
|
auto: &automatic
|
||||||
<<: *base_service
|
<<: *base_service
|
||||||
profiles: ["auto"]
|
profiles: ["auto"]
|
||||||
|
|
@ -27,6 +28,8 @@ services:
|
||||||
image: sd-auto:80
|
image: sd-auto:80
|
||||||
environment:
|
environment:
|
||||||
- CLI_ARGS=--allow-code --medvram --xformers --enable-insecure-extension-access --api
|
- CLI_ARGS=--allow-code --medvram --xformers --enable-insecure-extension-access --api
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
|
||||||
forge: &forge
|
forge: &forge
|
||||||
<<: *base_service
|
<<: *base_service
|
||||||
|
|
@ -35,6 +38,8 @@ services:
|
||||||
image: sd-forge:80
|
image: sd-forge:80
|
||||||
environment:
|
environment:
|
||||||
- CLI_ARGS=--allow-code --xformers --enable-insecure-extension-access --api --pin-shared-memory --cuda-malloc --cuda-stream
|
- CLI_ARGS=--allow-code --xformers --enable-insecure-extension-access --api --pin-shared-memory --cuda-malloc --cuda-stream
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
|
||||||
auto-cpu:
|
auto-cpu:
|
||||||
<<: *automatic
|
<<: *automatic
|
||||||
|
|
@ -42,6 +47,9 @@ services:
|
||||||
deploy: {}
|
deploy: {}
|
||||||
environment:
|
environment:
|
||||||
- CLI_ARGS=--no-half --precision full --allow-code --enable-insecure-extension-access --api
|
- CLI_ARGS=--no-half --precision full --allow-code --enable-insecure-extension-access --api
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
|
||||||
invoke: &invoke
|
invoke: &invoke
|
||||||
<<: *base_service
|
<<: *base_service
|
||||||
profiles: ["invoke"]
|
profiles: ["invoke"]
|
||||||
|
|
@ -50,12 +58,16 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- PRELOAD=true
|
- PRELOAD=true
|
||||||
- CLI_ARGS=--xformers
|
- CLI_ARGS=--xformers
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
|
||||||
# invoke-cpu:
|
# invoke-cpu:
|
||||||
# <<: *invoke
|
# <<: *invoke
|
||||||
# profiles: ["invoke-cpu"]
|
# profiles: ["invoke-cpu"]
|
||||||
# environment:
|
# environment:
|
||||||
# - PRELOAD=true
|
# - PRELOAD=true
|
||||||
# - CLI_ARGS=--always_use_cpu
|
# - CLI_ARGS=--always_use_cpu
|
||||||
|
|
||||||
comfy: &comfy
|
comfy: &comfy
|
||||||
<<: *base_service
|
<<: *base_service
|
||||||
profiles: ["comfy"]
|
profiles: ["comfy"]
|
||||||
|
|
@ -63,12 +75,17 @@ services:
|
||||||
image: sd-comfy:6
|
image: sd-comfy:6
|
||||||
environment:
|
environment:
|
||||||
- CLI_ARGS=
|
- CLI_ARGS=
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
|
||||||
comfy-cpu:
|
comfy-cpu:
|
||||||
<<: *comfy
|
<<: *comfy
|
||||||
profiles: ["comfy-cpu"]
|
profiles: ["comfy-cpu"]
|
||||||
deploy: {}
|
deploy: {}
|
||||||
environment:
|
environment:
|
||||||
- CLI_ARGS=--cpu
|
- CLI_ARGS=--cpu
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
|
||||||
fooocus: &fooocus
|
fooocus: &fooocus
|
||||||
<<: *base_service
|
<<: *base_service
|
||||||
|
|
@ -76,4 +93,6 @@ services:
|
||||||
build: ./services/fooocus/
|
build: ./services/fooocus/
|
||||||
image: sd-fooocus:3
|
image: sd-fooocus:3
|
||||||
environment:
|
environment:
|
||||||
- CLI_ARGS=
|
- CLI_ARGS=
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue