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
[](http://microbadger.com/images/solidnerd/bookstack"Get your own image badge on microbadger.com")
1
+
## Docker Image For [BookStack](https://github.com/ssddanbrown/BookStack)
2
2
3
-
# Docker Image For [BookStack](https://github.com/ssddanbrown/BookStack)
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
5
## Current Version: [0.14.3](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`
9
9
10
-
## Quickstart
10
+
###Quickstart
11
11
With Docker Compose is a Quickstart very easy. Run the following command:
12
12
13
13
```
@@ -16,30 +16,31 @@ docker-compose up
16
16
17
17
and after that open your Browser and go to [http://localhost:8080](http://localhost:8080) .
18
18
19
-
## Issues
19
+
###Issues
20
20
21
21
If you have any issues feel free to create an [issue on GitHub](https://github.com/solidnerd/docker-bookstack/issues).
22
22
23
23
24
-
## How to use the Image without Docker compose
24
+
###How to use the Image without Docker compose
25
25
Networking changed in Docker v1.9, so you need to do one of the following steps.
26
26
27
-
### Docker < v1.9
27
+
####Docker < v1.9
28
28
1. MySQL Container:
29
-
```
29
+
```bash
30
30
docker run -d --name bookstack-mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=secret -e MYSQL_DATABASE=bookstack -e MYSQL_USER=bookstack -e MYSQL_PASSWORD=secret mysql
31
31
```
32
32
2. BookStack Container:
33
-
```
33
+
```bash
34
34
docker run --name my-bookstack -d --link bookstack-mysql:mysql -p 8080:80 solidnerd/bookstack:0.14.3
35
35
```
36
36
37
-
### Docker 1.9+
37
+
### #Docker 1.9+
38
38
1. Create a shared network:
39
-
`docker network create bookstack_nw`
40
-
41
-
2. MySQL container :
39
+
```bash
40
+
docker network create bookstack_nw`
42
41
```
42
+
2. MySQL container :
43
+
```bash
43
44
docker run -d --net bookstack_nw \
44
45
-e MYSQL_ROOT_PASSWORD=secret \
45
46
-e MYSQL_DATABASE=bookstack \
@@ -50,7 +51,7 @@ docker run -d --net bookstack_nw \
50
51
```
51
52
52
53
3. Create BookStack Container
53
-
```
54
+
```bash
54
55
docker run -d --net bookstack_nw \
55
56
-e DB_HOST=bookstack_db:3306 \
56
57
-e DB_DATABASE=bookstack \
@@ -63,6 +64,6 @@ docker run -d --net bookstack_nw \
63
64
After the steps you can visit [http://localhost:8080](http://localhost:8080) . You can login with username '[email protected]' and password 'password'.
64
65
65
66
66
-
## Inspiration
67
+
### Inspiration
67
68
68
69
This is a fork of [Kilhog/docker-bookstack](https://github.com/Kilhog/docker-bookstack). Kilhog did the intial work, but I want to go in a different direction.
0 commit comments