Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: solidnerd/docker-bookstack
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 25.2.1
Choose a base ref
...
head repository: solidnerd/docker-bookstack
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Mar 16, 2025

  1. doc: update documentation to reference 25.2.1

    rjhenry committed Mar 16, 2025

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    rjhenry Rick Henry
    Copy the full SHA
    bdd0933 View commit details
  2. Merge pull request #529 from solidnerd/rjh_update

    doc: update documentation to reference 25.2.1
    rjhenry authored Mar 16, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    ab3ad33 View commit details

Commits on Mar 17, 2025

  1. chore(deps): update metcalfc/changelog-generator action to v4.5.0

    renovate[bot] authored Mar 17, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    79170a6 View commit details
  2. Merge pull request #530 from solidnerd/renovate/metcalfc-changelog-ge…

    …nerator-4.x
    
    chore(deps): update metcalfc/changelog-generator action to v4.5.0
    rjhenry authored Mar 17, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    474f982 View commit details

Commits on Mar 25, 2025

  1. chore(deps): update php docker tag to v8.4

    renovate[bot] authored Mar 25, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    2301ef9 View commit details
  2. chore(deps): update mysql docker tag to v8.4

    renovate[bot] authored Mar 25, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    c7ca139 View commit details
  3. Merge pull request #487 from solidnerd/renovate/mysql-8.x

    chore(deps): update mysql docker tag to v8.4
    rjhenry authored Mar 25, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    d836e76 View commit details
  4. chore(deps): update mysql docker tag to v9

    renovate[bot] authored Mar 25, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    5e5aaad View commit details
  5. Merge pull request #506 from solidnerd/renovate/mysql-9.x

    chore(deps): update mysql docker tag to v9
    rjhenry authored Mar 25, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    3b30a9f View commit details
  6. docs: update MySQL version in non-compose set-up docs

    rjhenry committed Mar 25, 2025

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    rjhenry Rick Henry
    Copy the full SHA
    0ed8683 View commit details
  7. Merge pull request #532 from solidnerd/rjh_update

    docs: update MySQL version in non-compose set-up docs
    rjhenry authored Mar 25, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    1f02f28 View commit details
  8. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    rjhenry Rick Henry
    Copy the full SHA
    83777b0 View commit details
  9. docs: remove instructions for Docker < 1.9

    Docker 1.9 has been out of support for some time now, and shouldn't be
    used. Removal of the documentation for use of this version should
    hopefully avoid confusion.
    rjhenry committed Mar 25, 2025

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    rjhenry Rick Henry
    Copy the full SHA
    f56d2ed View commit details
  10. Merge pull request #533 from solidnerd/rjh_update

    Update non-compose documentation
    rjhenry authored Mar 25, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    76e0055 View commit details
  11. docs: remove outdated guidance on .env in non-compose instructions

    rjhenry committed Mar 25, 2025

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    rjhenry Rick Henry
    Copy the full SHA
    4069ae3 View commit details
  12. Merge pull request #534 from solidnerd/rjh_update

    docs: remove outdated guidance on .env in non-compose instructions
    rjhenry authored Mar 25, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    991e169 View commit details
  13. feat: change default APP_URL value

    Running a freshly-clone repository fails as the Bookstack container
    redirects to `example.com`, which isn't hosting a Bookstack instance.
    Updating the `APP_URL` to be the value set by default and referred to in
    the documention will prevent this.
    rjhenry committed Mar 25, 2025

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    rjhenry Rick Henry
    Copy the full SHA
    14475c8 View commit details
  14. Merge pull request #535 from solidnerd/rjh_update

    feat: change default APP_URL value
    rjhenry authored Mar 25, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    6b6269e View commit details
  15. Merge pull request #519 from solidnerd/renovate/php-8.x

    chore(deps): update php docker tag to v8.4
    rjhenry authored Mar 25, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    58b7d4f View commit details

Commits on Apr 2, 2025

  1. feat: update Dockerfile to use Bookstack v25.02.2

    rjhenry committed Apr 2, 2025

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    rjhenry Rick Henry
    Copy the full SHA
    8f79725 View commit details
  2. Merge pull request #537 from solidnerd/rjh_release

    feat: update Dockerfile to use Bookstack v25.02.2
    rjhenry authored Apr 2, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    aa160e5 View commit details
  3. chore(deps): update solidnerd/bookstack docker tag to v25.2.2

    renovate[bot] authored Apr 2, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    4b15508 View commit details

Commits on Apr 3, 2025

  1. Merge pull request #538 from solidnerd/renovate/solidnerd-bookstack-25.x

    chore(deps): update solidnerd/bookstack docker tag to v25.2.2
    rjhenry authored Apr 3, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    0ab5049 View commit details
Showing with 23 additions and 48 deletions.
  1. +1 −1 .github/workflows/release.yml
  2. +2 −2 Dockerfile
  3. +10 −39 README.md
  4. +1 −1 VERSION
  5. +1 −1 docker-compose.test.yml
  6. +8 −4 docker-compose.yml
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -140,7 +140,7 @@ jobs:

- name: Generate changelog
id: changelog
uses: metcalfc/changelog-generator@v4.3.1
uses: metcalfc/changelog-generator@v4.5.0
with:
myToken: ${{ secrets.GITHUB_TOKEN }}

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=v25.02.1
ENV BOOKSTACK_VERSION=v25.02.2
RUN apk add --no-cache curl tar
RUN set -x; \
curl -SL -o bookstack.tar.gz https://github.com/BookStackApp/BookStack/archive/${BOOKSTACK_VERSION}.tar.gz \
&& mkdir -p /bookstack \
&& tar xvf bookstack.tar.gz -C /bookstack --strip-components=1 \
&& rm bookstack.tar.gz

FROM php:8.3-apache-bookworm AS final
FROM php:8.4-apache-bookworm AS final
RUN set -x; \
apt-get update \
&& apt-get install -y --no-install-recommends \
49 changes: 10 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
@@ -48,32 +48,6 @@ If you have any issues feel free to create an [issue on GitHub](https://github.c

Note that if you want to use LDAP, `$` has to be escape like `\$`, i.e. `-e "LDAP_USER_FILTER"="(&(uid=\${user}))"`

Networking changed in Docker v1.9, so you need to do one of the following steps.

### Docker < v1.9

1. MySQL Container:

```bash
docker run -d \
-p 3306:3306 \
-e MYSQL_ROOT_PASSWORD=secret \
-e MYSQL_DATABASE=bookstack \
-e MYSQL_USER=bookstack \
-e MYSQL_PASSWORD=secret \
--name bookstack_db \
mysql:5.7.21
```

2. BookStack Container:

```bash
docker run -d --link bookstack_db_:mysql \
-p 8080:8080 \
--name bookstack_25.2.0 \
solidnerd/bookstack:25.2.0
```

### Docker 1.9+

1. Create a shared network:
@@ -91,7 +65,7 @@ Networking changed in Docker v1.9, so you need to do one of the following steps.
-e MYSQL_USER=bookstack \
-e MYSQL_PASSWORD=secret \
--name="bookstack_db" \
mysql:5.7.21
mysql:9.2.0
```

3. Run BookStack Container
@@ -102,16 +76,17 @@ Networking changed in Docker v1.9, so you need to do one of the following steps.
-e DB_DATABASE=bookstack \
-e DB_USERNAME=bookstack \
-e DB_PASSWORD=secret \
-e APP_URL=http://example.com \
-e APP_URL=http://localhost:8080 \
-e APP_KEY=SomeRandomStringWith32Characters \
-p 8080:8080 \
--name="bookstack_25.2.0" \
solidnerd/bookstack:25.2.0
--name="bookstack_25.2.1" \
solidnerd/bookstack:25.2.1
```

The APP_URL parameter should be the base URL for your BookStack instance without
a trailing slash. For example:
a trailing slash, but including any port numbers. For example:

`APP_URL=http://example.com`
`APP_URL=http://example.com` or `APP_URL=http://localhost:8080`.

The following environment variables are required for Bookstack to start:
- `APP_KEY`
@@ -123,19 +98,15 @@ Networking changed in Docker v1.9, so you need to do one of the following steps.

### Volumes

To access your `.env` file and important bookstack folders on your host system
change `<HOST>` in the following line to your host directory and add it then to
your run command:
To access your important bookstack folders on your host system change `<HOST>`
in the following line to your host directory and add it then to your run
command:

```bash
--mount type=bind,source=<HOST>/.env,target=/var/www/bookstack/.env \
-v <HOST>:/var/www/bookstack/public/uploads \
-v <HOST>:/var/www/bookstack/storage/uploads
```

In case of a windows host machine the .env file has to be already created in the
host directory otherwise a folder named .env will be created.

After these steps you can visit [http://localhost:8080](http://localhost:8080).
You can login with username `admin@admin.com` and password `password`.

2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
25.2.0
25.2.1
2 changes: 1 addition & 1 deletion docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ services:
depends_on:
- bookstack
mysql:
image: mysql:8.3
image: mysql:9.2
environment:
- MYSQL_ROOT_PASSWORD=secret
- MYSQL_DATABASE=bookstack
12 changes: 8 additions & 4 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.3
image: mysql:9.2
environment:
- MYSQL_ROOT_PASSWORD=secret
- MYSQL_DATABASE=bookstack
@@ -11,16 +11,20 @@ services:
- mysql-data:/var/lib/mysql

bookstack:
image: solidnerd/bookstack:25.2.0
image: solidnerd/bookstack:25.2.2
depends_on:
- mysql
environment:
- DB_HOST=mysql:3306
- DB_DATABASE=bookstack
- DB_USERNAME=bookstack
- DB_PASSWORD=secret
#set the APP_ to the URL of bookstack without without a trailing slash APP_URL=https://example.com
- APP_URL=http://example.com
# Set the APP_ to the URL of bookstack without without a trailing slash,
# but including any port numbers. For example, one of:
# APP_URL=https://example.com
# APP_URL=http://localhost:8080
# APP_URL=https://wiki.example.com:8443
- APP_URL=http://localhost:8080
# APP_KEY is used for encryption where needed, so needs to be persisted to
# preserve decryption abilities.
# Can run `php artisan key:generate` to generate a key