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

Sign up
Appearance settings

Commit 653ccb1

Browse files
Merge pull request #2 from ssddanbrown/master
Made BookStack uploads folder volumable
2 parents d8e0c2e + 60b9a1e commit 653ccb1

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

‎docker-compose.yml‎

Lines 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‎

Lines 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)

AltStyle によって変換されたページ (->オリジナル) /