From 83777b0ba3118d55e30e143be8a68493266cdef3 Mon Sep 17 00:00:00 2001 From: Rick Henry Date: Tue, 25 Mar 2025 14:14:35 +0000 Subject: [PATCH 1/2] docs: add APP_KEY to docker run command --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index bf8daeb..a40faea 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,7 @@ Networking changed in Docker v1.9, so you need to do one of the following steps. -e DB_USERNAME=bookstack \ -e DB_PASSWORD=secret \ -e APP_URL=http://example.com \ + -e APP_KEY=SomeRandomStringWith32Characters \ -p 8080:8080 \ --name="bookstack_25.2.1" \ solidnerd/bookstack:25.2.1 From f56d2ede995883534601df5bed90a6fec2090a20 Mon Sep 17 00:00:00 2001 From: Rick Henry Date: Tue, 25 Mar 2025 14:15:14 +0000 Subject: [PATCH 2/2] 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. --- README.md | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/README.md b/README.md index a40faea..8e28322 100644 --- a/README.md +++ b/README.md @@ -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:9.2.0 - ``` - -2. BookStack Container: - - ```bash - docker run -d --link bookstack_db_:mysql \ - -p 8080:8080 \ - --name bookstack_25.2.1 \ - solidnerd/bookstack:25.2.1 - ``` - ### Docker 1.9+ 1. Create a shared network: