Skip to content

Updated for release v0.13.1 #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 2, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:7.0-apache

ENV BOOKSTACK=BookStack \
BOOKSTACK_VERSION=0.13.0
BOOKSTACK_VERSION=0.13.1

RUN apt-get update && apt-get install -y git zlib1g-dev libfreetype6-dev libjpeg62-turbo-dev libmcrypt-dev libpng12-dev wget libldap2-dev libtidy-dev \
&& docker-php-ext-install pdo pdo_mysql mbstring zip tidy \
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Docker Image For [BookStack](https://github.com/ssddanbrown/BookStack)

## Current Version: [0.13.0](https://github.com/SolidNerd/docker-bookstack/blob/master/Dockerfile)
## Current Version: [0.13.1](https://github.com/SolidNerd/docker-bookstack/blob/master/Dockerfile)

### Changes
In 0.12.2 we removed `DB_PORT` . You can now specify the port via `DB_HOST` like `DB_HOST=mysql:3306`
Expand Down Expand Up @@ -31,7 +31,7 @@ docker run -d --name bookstack-mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=secret
```
2. BookStack Container:
```
docker run --name my-bookstack -d --link bookstack-mysql:mysql -p 8080:80 solidnerd/bookstack:0.13.0
docker run --name my-bookstack -d --link bookstack-mysql:mysql -p 8080:80 solidnerd/bookstack:0.13.1
```

### Docker 1.9+
Expand All @@ -57,7 +57,7 @@ docker run -d --net bookstack_nw \
-e DB_USERNAME=bookstack \
-e DB_PASSWORD=secret \
-p 8080:80
solidnerd/bookstack:0.13.0
solidnerd/bookstack:0.13.1
```

After the steps you can visit [http://localhost:8080](http://localhost:8080) .
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.13.0
0.13.1
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
- ./mysql:/var/lib/mysql

bookstack:
image: solidnerd/bookstack:0.13.0
image: solidnerd/bookstack:0.13.1
depends_on:
- mysql
environment:
Expand All @@ -22,5 +22,6 @@ services:
- DB_PASSWORD=secret
volumes:
- ./uploads:/var/www/BookStack/public/uploads
- ./storage-uploads:/var/www/BookStack/storage/uploads
ports:
- "8080:80"
3 changes: 2 additions & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,9 @@ fi
cd /var/www/BookStack/ && php artisan key:generate && php artisan migrate --force


echo "Setting setting rights for uploads"
echo "Setting folder permissions for uploads"
chown -R www-data:www-data /var/www/BookStack/public/uploads && chmod -R 775 /var/www/BookStack/public/uploads
chown -R www-data:www-data /var/www/BookStack/storage/uploads && chmod -R 775 /var/www/BookStack/storage/uploads

echo "Clear Cache..."

Expand Down