Merge branch 'staging' into release

102d170752eb19da70966ca293f5d5a166405c55

Cohee <18619528+Cohee1207@users.noreply.github.com>

3 files changed, +6 -1Ignore whitespace
.github/readme.md+2 -1
@@ -258,6 +258,7 @@ You will need two mandatory directory mappings and a port mapping to allow Silly
258258* [config] - The directory where SillyTavern configuration files will be stored on your host machine
259259* [data] - The directory where SillyTavern user data (including characters) will be stored on your host machine
260260* [plugins] - (optional) The directory where SillyTavern server plugins will be stored on your host machine
261+* [extensions] - (optional) The directory where global UI extensions will be stored on your host machine
261262
262263##### Port Mappings
263264
@@ -273,7 +274,7 @@ You will need two mandatory directory mappings and a port mapping to allow Silly
2732741. Open your Command Line
2742752. Run the following command
275276
276277`docker create --name='sillytavern' --net='[DockerNet]' -p '8000:8000/tcp' -v '[plugins]':'/home/node/app/plugins':'rw' -v '[config]':'/home/node/app/config':'rw' -v '[data]':'/home/node/app/data':'rw' -v '[extensions]':'/home/node/app/public/scripts/extensions/third-party':'rw' 'ghcr.io/sillytavern/sillytavern:[version]'`
277278
278279> Note that 8000 is a default listening port. Don't forget to use an appropriate port if you change it in the config.
279280
Dockerfile+3 -0
@@ -37,6 +37,9 @@ RUN \
3737 echo "*** Convert line endings to Unix format ***" && \
3838 dos2unix "./docker-entrypoint.sh"
3939
40+# Fix extension repos permissions
41+RUN git config --global --add safe.directory "*"
42+
4043EXPOSE 8000
4144
4245# Ensure proper handling of kernel signals
docker/docker-compose.yml+1 -0
@@ -11,4 +11,5 @@ services:
1111 - "./config:/home/node/app/config"
1212 - "./data:/home/node/app/data"
1313 - "./plugins:/home/node/app/plugins"
14+ - "./extensions:/home/node/app/public/scripts/extensions/third-party"
1415 restart: unless-stopped