Skip to content

Commit 607fecb

Browse files
committed
Added requirements for bookstack-system-cli
Added required ZIP extension and mariadb-client package to provide mysqldump which is required by the CLI for backing up.
1 parent d29c2f1 commit 607fecb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ RUN \
3131
php81-pecl-memcached \
3232
php81-phar \
3333
php81-tokenizer \
34+
php81-zip \
35+
mariadb-client \
3436
qt5-qtbase \
3537
ttf-freefont && \
3638
echo "**** configure php-fpm to pass env vars ****" && \

root/etc/s6-overlay/s6-rc.d/init-bookstack-config/run

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# create directory structure
55
mkdir -p \
6-
/config/www/{uploads,files,images,themes}
6+
/config/www/{uploads,files,images,themes,backups}
77

88
# check for .env and copy default if needed
99
if [[ ! -f "/config/www/.env" ]] || [[ ! -s "/config/www/.env" ]]; then
@@ -13,6 +13,7 @@ fi
1313
# create symlinks
1414
symlinks=(
1515
/app/www/themes
16+
/app/www/storage/backups
1617
/app/www/storage/uploads/files
1718
/app/www/storage/uploads/images
1819
/app/www/public/uploads

0 commit comments

Comments
 (0)