Skip to content

Commit

Permalink
Merge remote-tracking branch 'solidnerd/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
s4ke committed Jan 19, 2024
2 parents cffbfbf + 5e50ce0 commit 5c21655
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 135 deletions.
125 changes: 0 additions & 125 deletions .github/workflows/master.yml

This file was deleted.

4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM alpine:3 as bookstack
ENV BOOKSTACK_VERSION=23.08.2
ENV BOOKSTACK_VERSION=23.12.1
RUN apk add --no-cache curl tar
RUN set -x; \
curl -SL -o bookstack.tar.gz https://github.com/BookStackApp/BookStack/archive/v${BOOKSTACK_VERSION}.tar.gz \
&& mkdir -p /bookstack \
&& tar xvf bookstack.tar.gz -C /bookstack --strip-components=1 \
&& rm bookstack.tar.gz

FROM php:8.2-apache-bookworm as final
FROM php:8.3-apache-bookworm as final
RUN set -x; \
apt-get update \
&& apt-get install -y --no-install-recommends \
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ Networking changed in Docker v1.9, so you need to do one of the following steps.
```bash
docker run -d --link bookstack_db_:mysql \
-p 8080:8080 \
--name bookstack_23.8.2 \
solidnerd/bookstack:23.8.2
--name bookstack_23.12.1 \
solidnerd/bookstack:23.12.1
```

### Docker 1.9+
Expand Down Expand Up @@ -99,8 +99,8 @@ Networking changed in Docker v1.9, so you need to do one of the following steps.
-e DB_PASSWORD=secret \
-e APP_URL=http://example.com \
-p 8080:8080 \
--name="bookstack_23.8.2" \
solidnerd/bookstack:23.8.2
--name="bookstack_23.12.1" \
solidnerd/bookstack:23.12.1
```

The APP_URL parameter should be the base URL for your BookStack instance without
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
23.8.2
23.12.1
2 changes: 1 addition & 1 deletion docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
depends_on:
- bookstack
mysql:
image: mysql:8.1
image: mysql:8.2
environment:
- MYSQL_ROOT_PASSWORD=secret
- MYSQL_DATABASE=bookstack
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '2'
services:
mysql:
image: mysql:8.1
image: mysql:8.2
environment:
- MYSQL_ROOT_PASSWORD=secret
- MYSQL_DATABASE=bookstack
Expand All @@ -11,7 +11,7 @@ services:
- mysql-data:/var/lib/mysql

bookstack:
image: ghcr.io/neuroforgede/docker-bookstack:23.08.2
image: ghcr.io/neuroforgede/docker-bookstack:23.12.1
depends_on:
- mysql
environment:
Expand Down
7 changes: 7 additions & 0 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ check_vars_exist \
DB_PORT \
DB_USERNAME

if [ -n "${FILE_UPLOAD_SIZE_LIMITS}" ]; then
echo "Note: If you're setting FILE_UPLOAD_SIZE_LIMITS to more than 10M, you"
echo "may also need to modify the php.ini file."
echo "See:"
echo "https://github.com/solidnerd/docker-bookstack/issues/423"
fi

echoerr "wait-for-db: waiting for ${DB_HOST_NAME}:${DB_PORT}"

timeout 15 bash <<EOT
Expand Down

0 comments on commit 5c21655

Please sign in to comment.