add storage link

This commit is contained in:
David Bomba
2024-11-24 15:48:15 +11:00
parent 3b0e475de6
commit 9ed63a6762
3 changed files with 7 additions and 3 deletions

5
debian/.env vendored
View File

@@ -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

3
debian/Dockerfile vendored
View File

@@ -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

View File

@@ -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