Skip to content

Commit

Permalink
doc: add comments to docker compose
Browse files Browse the repository at this point in the history
Signed-off-by: 陳鈞 <[email protected]>
  • Loading branch information
jim60105 committed Mar 16, 2024
1 parent f130948 commit 61c7f3f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
7 changes: 5 additions & 2 deletions docker-compose.forge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@ services:
#
# Recommanded:
- --xformers
- --api
- --allow-code
# You may or may not need:
- --api
- --enable-insecure-extension-access
## Enable installing/modifying extensions from the UI, please pay attention to security considerations.
- --enable-insecure-extension-access
## Optimizations
## https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Optimizations
- --opt-sdp-attention
- --opt-sdp-no-mem-attention
- --opt-channelslast
Expand Down
9 changes: 6 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@ services:
#
# Recommanded:
- --xformers
- --api
- --allow-code
- --medvram
- --no-half-vae
# You may or may not need:
- --api
- --enable-insecure-extension-access
## Enable installing/modifying extensions from the UI, please pay attention to security considerations.
- --enable-insecure-extension-access
## Optimizations
## https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Optimizations
- --medvram
- --opt-sdp-attention
- --opt-sdp-no-mem-attention
- --opt-channelslast
Expand Down

0 comments on commit 61c7f3f

Please sign in to comment.