Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 1 addition & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -103,6 +77,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
Expand Down
Loading