Skip to content

Commit

Permalink
Made BookStack uploads folder volumable
Browse files Browse the repository at this point in the history
  • Loading branch information
ssddanbrown committed Aug 18, 2016
1 parent 2b48eff commit 60b9a1e
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

0 comments on commit 60b9a1e

Please sign in to comment.