An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fixes
Andras Bacsaid641975040d1
diff --git a/docker/production/Dockerfile b/docker/production/Dockerfileindex 2cfd2aa8f1..0590bcda53 100644--- a/docker/production/Dockerfile+++ b/docker/production/Dockerfile@@ -96,8 +96,7 @@ RUN mkdir -p /usr/local/bin && \chmod +x /usr/local/bin/cloudflared# Configure PHP-RUN echo 'upload_max_filesize=256M' > /usr/local/etc/php/conf.d/upload-limits.ini && \- echo 'post_max_size=256M' >> /usr/local/etc/php/conf.d/upload-limits.ini+COPY docker/production/etc/php/conf.d/zzz-custom-php.ini /usr/local/etc/php/conf.d/zzz-custom-php.iniENV PHP_OPCACHE_ENABLE=1# Copy application files from previous stages@@ -115,8 +114,11 @@ COPY --chown=www-data:www-data public ./publicCOPY --chown=www-data:www-data routes ./routesCOPY --chown=www-data:www-data storage ./storageCOPY --chown=www-data:www-data templates ./templates+COPY --chown=www-data:www-data resources/views ./resources/viewsCOPY --chown=www-data:www-data artisan artisan+RUN composer dump-autoload+# Configure Nginx and S6 overlayCOPY docker/production/etc/nginx/conf.d/custom.conf /etc/nginx/conf.d/custom.confCOPY docker/production/etc/nginx/site-opts.d/http.conf /etc/nginx/site-opts.d/http.confdiff --git a/docker/production/etc/php/conf.d/zzz-custom-php.ini b/docker/production/etc/php/conf.d/zzz-custom-php.ininew file mode 100644index 0000000000..1e3ea566c2--- /dev/null+++ b/docker/production/etc/php/conf.d/zzz-custom-php.ini@@ -0,0 +1,9 @@+error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE+error_log = /var/www/html/storage/logs/php-error.log+log_errors = On+log_errors_max_len = 8192+ignore_repeated_errors = On+ignore_repeated_source = On++upload_max_filesize = 256M+post_max_size = 256M