Skip to content

Commit d6cbafd

Browse files
authored
Scripts support (deforum-art#187)
Closes deforum-art#186
1 parent 4464e9d commit d6cbafd

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed
File renamed without changes.

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ services:
3636
<<: *base_service
3737
profiles: ["auto"]
3838
build: ./services/AUTOMATIC1111
39-
image: sd-auto:5
39+
image: sd-auto:6
4040
environment:
4141
- CLI_ARGS=--allow-code --medvram --xformers
4242

services/AUTOMATIC1111/mount.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@
22

33
set -Eeuo pipefail
44

5-
mkdir -p /data/config/auto/
5+
mkdir -p /data/config/auto/scripts/
66
cp -n /docker/config.json /data/config/auto/config.json
77
jq '. * input' /data/config/auto/config.json /docker/config.json | sponge /data/config/auto/config.json
88

99
if [ ! -f /data/config/auto/ui-config.json ]; then
1010
echo '{}' >/data/config/auto/ui-config.json
1111
fi
1212

13+
# copy scripts, we cannot just mount the directory because it will override the already provided scripts in the repo
14+
cp -rfT /data/config/auto/scripts/ "${ROOT}/scripts"
15+
1316
declare -A MOUNTS
1417

1518
MOUNTS["/root/.cache"]="/data/.cache"

0 commit comments

Comments
 (0)