Skip to content

Commit

Permalink
Merge pull request #647 from turbo124/debian
Browse files Browse the repository at this point in the history
Add storage link
  • Loading branch information
turbo124 authored Nov 24, 2024
2 parents cb6d6d4 + 9ed63a6 commit 394c4c8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion debian/.env
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ PHANTOMJS_PDF_GENERATION=false
PDF_GENERATOR=snappdf
TRUSTED_PROXIES='*'

QUEUE_CONNECTION=database
QUEUE_CONNECTION=redis


# FILESYSTEM_DISK=local

# DB connection
DB_HOST=mysql
Expand Down
3 changes: 2 additions & 1 deletion debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ RUN composer dump-autoload --optimize \
&& php artisan optimize \
&& php artisan view:cache \
&& php artisan config:cache \
&& php artisan route:cache
&& php artisan route:cache \
&& php artisan storage:link

# Setup supervisor
COPY supervisor/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
Expand Down
2 changes: 1 addition & 1 deletion debian/php/php-fpm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ user = www-data
group = www-data
listen = 0.0.0.0:9000
pm = dynamic
pm.max_children = 5
pm.max_children = 10
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3

0 comments on commit 394c4c8

Please sign in to comment.