Skip to content

Commit 6382b25

Browse files
committed
Persist smileys/local and interwiki image folders outside of container
Fixes custom smiley and interwiki icon support
1 parent b440b8b commit 6382b25

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

readme-vars.yml

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ app_setup_block: |
4040
Upon first install go to `http://$IP:$PORT/install.php` once you have completed the setup, restart the container, login as admin and set "Use nice URLs" in the `admin/Configuration Settings` panel to `.htaccess` and tick `Use slash as namespace separator in URLs` to enable [nice URLs](https://www.dokuwiki.org/rewrite) you will find the webui at `http://$IP:$PORT/`, for more info see [{{ project_name|capitalize }}]({{ project_url }})
4141
# changelog
4242
changelogs:
43+
- { date: "11.13.22:", desc: "Move lib/images/smileys/local and lib/images/interwiki outside of the container for user defined smiley and interwiki icon support." }
4344
- { date: "20.08.22:", desc: "Rebasing to alpine 3.15 with php8. Restructure nginx configs ([see changes announcement](https://info.linuxserver.io/issues/2022-08-20-nginx-base))." }
4445
- { date: "20.07.21:", desc: "Add php7-dom, fixes minor issues in sprintdoc template." }
4546
- { date: "15.04.21:", desc: "Add `vendor` folder to deny list." }

root/etc/cont-init.d/50-config

100644100755
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ USER_DIRECTORY=(\
1010
"data/meta" \
1111
"data/pages" \
1212
"lib/plugins" \
13-
"lib/tpl"
13+
"lib/tpl" \
14+
"lib/images/smileys/local" \
15+
"lib/images/interwiki"
1416
)
1517

1618
CORE_DIR=(\
@@ -25,6 +27,9 @@ CORE_DIR=(\
2527
[[ ! -d /config/dokuwiki/lib/ ]]
2628
mkdir -p /config/dokuwiki/lib/
2729

30+
[[ ! -d /config/dokuwiki/lib/images/ ]]
31+
mkdir -p /config/dokuwiki/lib/images/
32+
2833
## Move user folders to persistent storage
2934
for i in "${USER_DIRECTORY[@]}"; do
3035
if [[ ! -d /config/dokuwiki/${i} ]] && [[ -d /app/www/public/"${i}" ]]; then

0 commit comments

Comments
 (0)