diff --git a/Dockerfile b/Dockerfile index 38b185d8..8e4c38c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/supervisord.conf b/supervisord.conf index 53036fc5..f2c97404 100644 --- a/supervisord.conf +++ b/supervisord.conf @@ -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