File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -2,3 +2,5 @@ README.md
2
2
LICENCE
3
3
.git
4
4
docker-compose.yml
5
+ Dockerfile
6
+ .github
Original file line number Diff line number Diff line change 1
1
FROM alpine:3 as bookstack
2
- ENV BOOKSTACK_VERSION=21.05.2
2
+ ENV BOOKSTACK_VERSION=21.11.3
3
3
RUN apk add --no-cache curl tar
4
4
RUN set -x; \
5
5
curl -SL -o bookstack.tar.gz https://github.com/BookStackApp/BookStack/archive/v${BOOKSTACK_VERSION}.tar.gz \
6
6
&& mkdir -p /bookstack \
7
7
&& tar xvf bookstack.tar.gz -C /bookstack --strip-components=1 \
8
8
&& rm bookstack.tar.gz
9
9
10
- FROM php:7.4 -apache-buster as final
10
+ FROM php:8.0 -apache-buster as final
11
11
RUN set -x; \
12
12
apt-get update \
13
13
&& apt-get install -y --no-install-recommends \
@@ -51,13 +51,11 @@ COPY bookstack.conf /etc/apache2/sites-available/000-default.conf
51
51
52
52
COPY --from=bookstack --chown=33:33 /bookstack/ /var/www/bookstack/
53
53
54
- ARG COMPOSER_VERSION=1.10.16
54
+ ARG COMPOSER_VERSION=2.1.12
55
55
RUN set -x; \
56
56
cd /var/www/bookstack \
57
57
&& curl -sS https://getcomposer.org/installer | php -- --version=$COMPOSER_VERSION \
58
- && /var/www/bookstack/composer.phar global -v require hirak/prestissimo \
59
58
&& /var/www/bookstack/composer.phar install -v -d /var/www/bookstack/ \
60
- && /var/www/bookstack/composer.phar global -v remove hirak/prestissimo \
61
59
&& rm -rf /var/www/bookstack/composer.phar /root/.composer \
62
60
&& chown -R www-data:www-data /var/www/bookstack
63
61
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ services:
6
6
depends_on :
7
7
- bookstack
8
8
mysql :
9
- image : mysql:5.7.33
9
+ image : mysql:8.0
10
10
environment :
11
11
- MYSQL_ROOT_PASSWORD=secret
12
12
- MYSQL_DATABASE=bookstack
@@ -20,6 +20,7 @@ services:
20
20
depends_on :
21
21
- mysql
22
22
environment :
23
+ - APP_URL=http://localhost:${DEV_PORT:-8080}
23
24
- DB_HOST=mysql:3306
24
25
- DB_DATABASE=bookstack
25
26
- DB_USERNAME=bookstack
Original file line number Diff line number Diff line change 1
1
version : ' 2'
2
2
services :
3
3
mysql :
4
- image : mysql:5.7.33
4
+ image : mysql:8.0
5
5
environment :
6
6
- MYSQL_ROOT_PASSWORD=secret
7
7
- MYSQL_DATABASE=bookstack
You can’t perform that action at this time.
0 commit comments