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
+12-7
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.18.0](https://github.com/SolidNerd/docker-bookstack/blob/master/Dockerfile)
5
+
## Current Version: [0.18.1](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.18.0
34
+
docker run --name my-bookstack -d --link bookstack-mysql:mysql -p 8080:80 solidnerd/bookstack:0.18.1
35
35
```
36
36
37
-
### #Docker 1.9+
38
-
1. Create a shared network:
37
+
#### Docker 1.9+
38
+
39
+
1.Create a shared network:
40
+
39
41
```bash
40
42
docker network create bookstack_nw`
41
43
```
42
-
2. MySQL container :
44
+
45
+
2.MySQL container :
43
46
```bash
44
47
docker run -d --net bookstack_nw \
45
48
-e MYSQL_ROOT_PASSWORD=secret \
@@ -50,15 +53,17 @@ docker run -d --net bookstack_nw \
50
53
mysql
51
54
```
52
55
53
-
3. Create BookStack Container
56
+
57
+
3.Create BookStack Container
58
+
54
59
```bash
55
60
docker run -d --net bookstack_nw \
56
61
-e DB_HOST=bookstack_db:3306 \
57
62
-e DB_DATABASE=bookstack \
58
63
-e DB_USERNAME=bookstack \
59
64
-e DB_PASSWORD=secret \
60
65
-p 8080:80 \
61
-
solidnerd/bookstack:0.18.0
66
+
solidnerd/bookstack:0.18.1
62
67
```
63
68
64
69
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