Hello, I think you should not use Sail for production, the docs state
Laravel Sail is a light-weight command-line interface for interacting with Laravel's default Docker development environment.
But if you want to have let's encrypt there are many ways, you can use a container to manage the certificates provision and renewal which can get pretty complicated.
Here is some information about doing it with docker
https://medium.com/@pentacent/nginx-and-lets-encrypt-with-docker-in-less-than-5-minutes-b4b8a60d3a71
My suggestion, do not use Laravel Sail for production, instead build an image for the project and deploy a docker container in a container service like AWS ECS or similar, but again this will depend a lot on your needs for the production environment. You should also evaluate it in your context (Internal tool, public website ETC).
joedixon liked this reply
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community