Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Laravel Sail deployment-ready

I've recently started using Laravel Sail and I've noticed that it uses the built-in PHP server and not something like Apache or Nginx. So, I assume that this way is not a good way to deploy it on Laravel Vapor.

I can publish the Dockerfiles of Sail and modify them to include Nginx but I noticed that Sail uses some internal code to launch the server which would be impossible to modify. So, is the only way to have a production-ready Docker environment not using Laravel Sail?

I've read all the Sail documentation but there is nothing on the topic.

like image 941
Petar Vasilev Avatar asked Feb 01 '26 03:02

Petar Vasilev


1 Answers

According to this issue where someone was asking about getting PHP-FPM as an alternative:

Sail is meant as a development tool and not as a production tool.

like image 67
Chris Haas Avatar answered Feb 03 '26 17:02

Chris Haas



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!