Skip to content

Commit d164f1b

Browse files
authored
Merge pull request #173 from ssddanbrown/system-cli-support
2 parents d5a2d9e + 122d120 commit d164f1b

File tree

5 files changed

+10
-3
lines changed

5 files changed

+10
-3
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ ARG BOOKSTACK_RELEASE
99
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
1010
LABEL maintainer="homerr"
1111

12-
# package versions
12+
# package versions
1313
ARG BOOKSTACK_RELEASE
1414

1515
RUN \
1616
echo "**** install runtime packages ****" && \
1717
apk add --no-cache \
1818
fontconfig \
19+
mariadb-client \
1920
memcached \
2021
php82-dom \
2122
php82-gd \

Dockerfile.aarch64

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ ARG BOOKSTACK_RELEASE
99
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
1010
LABEL maintainer="homerr"
1111

12-
# package versions
12+
# package versions
1313
ARG BOOKSTACK_RELEASE
1414

1515
RUN \
1616
echo "**** install runtime packages ****" && \
1717
apk add --no-cache \
1818
fontconfig \
19+
mariadb-client \
1920
memcached \
2021
php82-dom \
2122
php82-gd \

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ Below is a mapping of container `/config` paths to those relative within a BookS
8181
- **/config container path** => **BookStack relative path**
8282
- `/config/www/.env` => `.env`
8383
- `/config/www/laravel.log` => `storage/logs/laravel.log`
84+
- `/config/www/backups/` => `storage/backups/`
8485
- `/config/www/files/` => `storage/uploads/files/`
8586
- `/config/www/images/` => `storage/uploads/images/`
8687
- `/config/www/themes/` => `themes/`
@@ -290,6 +291,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
290291

291292
## Versions
292293

294+
* **07.06.23:** - Add mariadb-client for bookstack-system-cli support.
293295
* **25.05.23:** - Rebase to Alpine 3.18, deprecate armhf.
294296
* **13.04.23:** - Move ssl.conf include to default.conf.
295297
* **01.03.23:** - Add php iconv.

readme-vars.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ app_setup_block: |
9898
- **/config container path** => **BookStack relative path**
9999
- `/config/www/.env` => `.env`
100100
- `/config/www/laravel.log` => `storage/logs/laravel.log`
101+
- `/config/www/backups/` => `storage/backups/`
101102
- `/config/www/files/` => `storage/uploads/files/`
102103
- `/config/www/images/` => `storage/uploads/images/`
103104
- `/config/www/themes/` => `themes/`
@@ -116,6 +117,7 @@ app_setup_block: |
116117
117118
# changelog
118119
changelogs:
120+
- { date: "07.06.23:", desc: "Add mariadb-client for bookstack-system-cli support." }
119121
- { date: "25.05.23:", desc: "Rebase to Alpine 3.18, deprecate armhf." }
120122
- { date: "13.04.23:", desc: "Move ssl.conf include to default.conf." }
121123
- { date: "01.03.23:", desc: "Add php iconv." }

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)