Support the ongoing development of Laravel.io →
posted 3 years ago
Last updated 1 year 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).

joedixon liked this reply

1

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.