File tree Expand file tree Collapse file tree 4 files changed +10
-7
lines changed Expand file tree Collapse file tree 4 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 1
1
FROM php:7.0-apache
2
2
3
3
ENV BOOKSTACK=BookStack \
4
- BOOKSTACK_VERSION=0.12.1
4
+ BOOKSTACK_VERSION=0.12.2
5
5
6
6
RUN apt-get update && apt-get install -y git zlib1g-dev libfreetype6-dev libjpeg62-turbo-dev libmcrypt-dev libpng12-dev wget libldap2-dev \
7
7
&& docker-php-ext-install pdo pdo_mysql mbstring zip \
Original file line number Diff line number Diff line change 2
2
3
3
# Docker Image For [ BookStack] ( https://github.com/ssddanbrown/BookStack )
4
4
5
- ## Current Version: [ 0.12.1] ( https://github.com/SolidNerd/docker-bookstack/blob/master/Dockerfile )
5
+ ## Current Version: [ 0.12.2] ( https://github.com/SolidNerd/docker-bookstack/blob/master/Dockerfile )
6
+
7
+ ### Changes
8
+ In 0.12.2 we removed ` DB_PORT ` . You can now specify the port via ` DB_HOST ` like ` DB_HOST=mysql:3306 `
6
9
7
10
## Quickstart
8
11
With Docker Compose is a Quickstart very easy. Run the following command:
@@ -28,7 +31,7 @@ docker run -d --name bookstack-mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=secret
28
31
```
29
32
2 . BookStack Container:
30
33
```
31
- docker run --name my-bookstack -d --link bookstack-mysql:mysql -p 8080:80 solidnerd/bookstack:0.12.1
34
+ docker run --name my-bookstack -d --link bookstack-mysql:mysql -p 8080:80 solidnerd/bookstack:0.12.2
32
35
```
33
36
34
37
### Docker 1.9+
@@ -49,7 +52,7 @@ docker run -d --net bookstack_nw \
49
52
3 . Create BookStack Container
50
53
```
51
54
docker run -d --net bookstack_nw \
52
- -e DB_HOST=bookstack_db \
55
+ -e DB_HOST=bookstack_db:3306 \
53
56
-e DB_DATABASE=bookstack \
54
57
-e DB_USERNAME=bookstack \
55
58
-e DB_PASSWORD=secret \
Original file line number Diff line number Diff line change 1
- 0.12.1
1
+ 0.12.2
Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ services:
12
12
- ./mysql:/var/lib/mysql
13
13
14
14
bookstack :
15
- image : solidnerd/bookstack:0.12.1
15
+ image : solidnerd/bookstack:0.12.2
16
16
depends_on :
17
17
- mysql
18
18
environment :
19
- - DB_HOST=mysql
19
+ - DB_HOST=mysql:3306
20
20
- DB_DATABASE=bookstack
21
21
- DB_USERNAME=bookstack
22
22
- DB_PASSWORD=secret
You can’t perform that action at this time.
0 commit comments