Skip to content

Commit

Permalink
Revert "chore: Enhance Docker compose setup for improved extension ha…
Browse files Browse the repository at this point in the history
…ndling"

This reverts commit b08dfa4.

Docker will create a folder there when the source file does not exist (and will bind into the file if it exists).
So this modification will cause problems when running for the first time when sd-webui has not yet created files.

Signed-off-by: 陳鈞 <[email protected]>
  • Loading branch information
jim60105 committed Apr 4, 2024
1 parent b08dfa4 commit 7ff349b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,9 @@ services:
- /tmp
volumes:
- ./data:/data
# Bind the following to the script folder to fix some extensions that do not respect the --data-dir.
- ./data/config_states:/app/config_states
- ./data/extensions:/app/extensions
- ./data/models:/app/models
- ./data/ui-config.json:/app/ui-config.json
- cache:/.cache
- repositories:/app/repositories
deploy:
Expand Down

0 comments on commit 7ff349b

Please sign in to comment.