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 11FROM php:7.0-apache
22
33ENV BOOKSTACK=BookStack \
4- BOOKSTACK_VERSION=0.12.1
4+ BOOKSTACK_VERSION=0.12.2
55
66RUN apt-get update && apt-get install -y git zlib1g-dev libfreetype6-dev libjpeg62-turbo-dev libmcrypt-dev libpng12-dev wget libldap2-dev \
77 && docker-php-ext-install pdo pdo_mysql mbstring zip \
Original file line number Diff line number Diff line change 22
33# Docker Image For [ BookStack] ( https://github.com/ssddanbrown/BookStack )
44
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 `
69
710## Quickstart
811With 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
2831```
29322 . BookStack Container:
3033```
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
3235```
3336
3437### Docker 1.9+
@@ -49,7 +52,7 @@ docker run -d --net bookstack_nw \
49523 . Create BookStack Container
5053```
5154docker run -d --net bookstack_nw \
52- -e DB_HOST=bookstack_db \
55+ -e DB_HOST=bookstack_db:3306 \
5356-e DB_DATABASE=bookstack \
5457-e DB_USERNAME=bookstack \
5558-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:
1212 - ./mysql:/var/lib/mysql
1313
1414 bookstack :
15- image : solidnerd/bookstack:0.12.1
15+ image : solidnerd/bookstack:0.12.2
1616 depends_on :
1717 - mysql
1818 environment :
19- - DB_HOST=mysql
19+ - DB_HOST=mysql:3306
2020 - DB_DATABASE=bookstack
2121 - DB_USERNAME=bookstack
2222 - DB_PASSWORD=secret
You can’t perform that action at this time.
0 commit comments