Skip to content

Commit d3d1a4e

Browse files
authored
Merge pull request #11 from solidnerd/upgrade_to_0_12_2
Upgrade to 0.12.2
2 parents 05dff0c + 85db72d commit d3d1a4e

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM php:7.0-apache
22

33
ENV BOOKSTACK=BookStack \
4-
BOOKSTACK_VERSION=0.12.1
4+
BOOKSTACK_VERSION=0.12.2
55

66
RUN 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 \

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
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
811
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
2831
```
2932
2. 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 \
4952
3. Create BookStack Container
5053
```
5154
docker 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 \

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.12.1
1+
0.12.2

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)