Modificacion del supervisor y docker file postmaxSize

This commit is contained in:
2026-05-09 07:26:47 -06:00
parent 9697a6b20a
commit e7ca2c29f0
2 changed files with 4 additions and 5 deletions
+2 -3
View File
@@ -15,11 +15,10 @@ RUN mkdir -p storage/framework/{sessions,views,cache} \
&& mkdir -p storage/app/livewire-tmp \ && mkdir -p storage/app/livewire-tmp \
&& chmod -R 775 storage bootstrap/cache && 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 php artisan storage:link
RUN echo "upload_max_filesize=20M\npost_max_size=25M" > /app/php.ini
COPY supervisord.conf /etc/supervisord.conf COPY supervisord.conf /etc/supervisord.conf
EXPOSE 8080 EXPOSE 8080
+2 -2
View File
@@ -2,11 +2,11 @@
nodaemon=true nodaemon=true
[program:laravel] [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 autostart=true
autorestart=true autorestart=true
[program:reverb] [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 autostart=true
autorestart=true autorestart=true