You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-12
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
[](https://microbadger.com/images/solidnerd/bookstack"Get your own image badge on microbadger.com")[](https://microbadger.com/images/solidnerd/bookstack"Get your own commit badge on microbadger.com")[](https://microbadger.com/images/solidnerd/bookstack"Get your own version badge on microbadger.com")[](https://microbadger.com/images/solidnerd/bookstack"Get your own license badge on microbadger.com")
4
4
5
-
## Current Version: [0.17.3](https://github.com/SolidNerd/docker-bookstack/blob/master/Dockerfile)
5
+
## Current Version: [0.18.0](https://github.com/SolidNerd/docker-bookstack/blob/master/Dockerfile)
6
6
7
7
### Changes
8
8
In 0.12.2 we removed `DB_PORT` . You can now specify the port via `DB_HOST` like `DB_HOST=mysql:3306`
docker run --name my-bookstack -d --link bookstack-mysql:mysql -p 8080:80 solidnerd/bookstack:0.17.3
34
+
docker run --name my-bookstack -d --link bookstack-mysql:mysql -p 8080:80 solidnerd/bookstack:0.18.0
35
35
```
36
36
37
-
#### Docker 1.9+
38
-
39
-
1.Create a shared network:
40
-
37
+
### #Docker 1.9+
38
+
1. Create a shared network:
41
39
```bash
42
40
docker network create bookstack_nw`
43
41
```
44
-
45
-
2.MySQL container :
42
+
2. MySQL container :
46
43
```bash
47
44
docker run -d --net bookstack_nw \
48
45
-e MYSQL_ROOT_PASSWORD=secret \
@@ -53,17 +50,15 @@ docker run -d --net bookstack_nw \
53
50
mysql
54
51
```
55
52
56
-
57
-
3.Create BookStack Container
58
-
53
+
3. Create BookStack Container
59
54
```bash
60
55
docker run -d --net bookstack_nw \
61
56
-e DB_HOST=bookstack_db:3306 \
62
57
-e DB_DATABASE=bookstack \
63
58
-e DB_USERNAME=bookstack \
64
59
-e DB_PASSWORD=secret \
65
60
-p 8080:80 \
66
-
solidnerd/bookstack:0.17.3
61
+
solidnerd/bookstack:0.18.0
67
62
```
68
63
69
64
After the steps you can visit [http://localhost:8080](http://localhost:8080) . You can login with username '[email protected]' and password 'password'.
0 commit comments