Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 653ccb1

Browse filesBrowse files
authored
Merge pull request solidnerd#2 from ssddanbrown/master
Made BookStack uploads folder volumable
2 parents d8e0c2e + 60b9a1e commit 653ccb1
Copy full SHA for 653ccb1

File tree

Expand file treeCollapse file tree

2 files changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+4
-0
lines changed

‎docker-compose.yml

Copy file name to clipboardExpand all lines: docker-compose.yml
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,7 @@ services:
2020
- DB_DATABASE=bookstack
2121
- DB_USERNAME=bookstack
2222
- DB_PASSWORD=secret
23+
volumes:
24+
- ./uploads:/var/www/BookStack/public/uploads
2325
ports:
2426
- "8080:80"

‎docker-entrypoint.sh

Copy file name to clipboardExpand all lines: docker-entrypoint.sh
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,6 @@ fi
7878

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

81+
chown -R www-data:www-data /var/www/BookStack/public/uploads && chmod -R 775 /var/www/BookStack/public/uploads
82+
8183
exec apache2-foreground

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.