diff --git a/Dockerfile b/Dockerfile index c7891b7..da10640 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,7 +38,7 @@ RUN composer install RUN php artisan key:generate # Expose port 9000 for PHP-FPM -EXPOSE 9000 +EXPOSE 9001 # Start PHP-FPM CMD ["php-fpm"] diff --git a/default.conf b/default.conf index cb7d259..ac2f2ec 100644 --- a/default.conf +++ b/default.conf @@ -11,7 +11,7 @@ server { } location ~ \.php$ { - fastcgi_pass php-fpm:9000; # Use the service name + fastcgi_pass php-fpm:9001; # Use the service name fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params;