updated
This commit is contained in:
@@ -38,7 +38,7 @@ RUN composer install
|
|||||||
RUN php artisan key:generate
|
RUN php artisan key:generate
|
||||||
|
|
||||||
# Expose port 9000 for PHP-FPM
|
# Expose port 9000 for PHP-FPM
|
||||||
EXPOSE 9000
|
EXPOSE 9001
|
||||||
|
|
||||||
# Start PHP-FPM
|
# Start PHP-FPM
|
||||||
CMD ["php-fpm"]
|
CMD ["php-fpm"]
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location ~ \.php$ {
|
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_index index.php;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
|
|||||||
Reference in New Issue
Block a user