PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, February 8, 2022

[FIXED] Is Laravel Sail deployment-ready

 February 08, 2022     docker, dockerfile, laravel, laravel-sail, php     No comments   

Issue

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.


Solution

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.



Answered By - Chris Haas
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing