Support the ongoing development of Laravel.io →
Last updated 2 weeks ago.
0

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).

1

Sign in to participate in this thread!

LoadForge

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.