Skip to content

Commit 76e0055

Browse files
authored
Merge pull request #533 from solidnerd/rjh_update
Update non-compose documentation
2 parents 1f02f28 + f56d2ed commit 76e0055

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

README.md

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -48,32 +48,6 @@ If you have any issues feel free to create an [issue on GitHub](https://github.c
4848

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

51-
Networking changed in Docker v1.9, so you need to do one of the following steps.
52-
53-
### Docker < v1.9
54-
55-
1. MySQL Container:
56-
57-
```bash
58-
docker run -d \
59-
-p 3306:3306 \
60-
-e MYSQL_ROOT_PASSWORD=secret \
61-
-e MYSQL_DATABASE=bookstack \
62-
-e MYSQL_USER=bookstack \
63-
-e MYSQL_PASSWORD=secret \
64-
--name bookstack_db \
65-
mysql:9.2.0
66-
```
67-
68-
2. BookStack Container:
69-
70-
```bash
71-
docker run -d --link bookstack_db_:mysql \
72-
-p 8080:8080 \
73-
--name bookstack_25.2.1 \
74-
solidnerd/bookstack:25.2.1
75-
```
76-
7751
### Docker 1.9+
7852

7953
1. Create a shared network:
@@ -103,6 +77,7 @@ Networking changed in Docker v1.9, so you need to do one of the following steps.
10377
-e DB_USERNAME=bookstack \
10478
-e DB_PASSWORD=secret \
10579
-e APP_URL=http://example.com \
80+
-e APP_KEY=SomeRandomStringWith32Characters \
10681
-p 8080:8080 \
10782
--name="bookstack_25.2.1" \
10883
solidnerd/bookstack:25.2.1

0 commit comments

Comments
 (0)