Modificacion del supervisor y docker file postmaxSize
This commit is contained in:
+2
-3
@@ -15,11 +15,10 @@ RUN mkdir -p storage/framework/{sessions,views,cache} \
|
||||
&& mkdir -p storage/app/livewire-tmp \
|
||||
&& chmod -R 775 storage bootstrap/cache
|
||||
|
||||
RUN echo "upload_max_filesize=20M" > /usr/local/etc/php/conf.d/uploads.ini \
|
||||
&& echo "post_max_size=25M" >> /usr/local/etc/php/conf.d/uploads.ini
|
||||
|
||||
RUN php artisan storage:link
|
||||
|
||||
RUN echo "upload_max_filesize=20M\npost_max_size=25M" > /app/php.ini
|
||||
|
||||
COPY supervisord.conf /etc/supervisord.conf
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
+2
-2
@@ -2,11 +2,11 @@
|
||||
nodaemon=true
|
||||
|
||||
[program:laravel]
|
||||
command=php /app/artisan serve --host=0.0.0.0 --port=8080
|
||||
command=php -c /app/php.ini /app/artisan serve --host=0.0.0.0 --port=8080
|
||||
autostart=true
|
||||
autorestart=true
|
||||
|
||||
[program:reverb]
|
||||
command=php /app/artisan reverb:start --host=0.0.0.0 --port=8085
|
||||
command=php -c /app/php.ini /app/artisan reverb:start --host=0.0.0.0 --port=8085
|
||||
autostart=true
|
||||
autorestart=true
|
||||
|
||||
Reference in New Issue
Block a user