Skip to content

Commit

Permalink
Merge pull request #2 from ssddanbrown/master
Browse files Browse the repository at this point in the history
Made BookStack uploads folder volumable
  • Loading branch information
solidnerd authored Aug 26, 2016
2 parents d8e0c2e + 60b9a1e commit 653ccb1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@ services:
- DB_DATABASE=bookstack
- DB_USERNAME=bookstack
- DB_PASSWORD=secret
volumes:
- ./uploads:/var/www/BookStack/public/uploads
ports:
- "8080:80"
2 changes: 2 additions & 0 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,6 @@ fi

cd /var/www/BookStack/ && php artisan key:generate && php artisan migrate --force

chown -R www-data:www-data /var/www/BookStack/public/uploads && chmod -R 775 /var/www/BookStack/public/uploads

exec apache2-foreground

2 comments on commit 653ccb1

@ssddanbrown
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@solidnerd Awesome, Thanks! Is it okay if I link to this repo on the bookstackapp.com blog and docs?
Would be nice to display this docker setup as an options for quick installation to those that are docker experienced.

@solidnerd
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah why not :neckbeard: . For easier issue resolving you could use a docker label or link people to this repo for docker related issues. I would really appreciate to help you with your project.

Please sign in to comment.