docker
docker copied to clipboard
[feature] add Let's Encyrpt certificate
Please add the creation of a free Let's Encrypt certificate to the docker-compose.yaml or .env file and set a redirect to https.
+1-ing this
One easy way to accomplish this would be adding a basic Caddy service to docker-compose.yml
and a simple Caddyfile
to the project.
A quick, untested idea of what the Caddyfile
might look like is the following:
{$NEXT_PUBLIC_WEBAPP_URL} {
reverse_proxy calcom:3000
}
That would require the Caddy service to expose ports 80 + 443. The resulting image would receive traffic on those ports and reverse proxy it, internally (via Docker-internal networking), to the calcom
service.
We have examples of this coming. Appreciate the feedback! This is a standard part of many stacks that doesn't necessarily need to be an embedded part of the stack. Many modern load balancers handle as well, and we have a traefik example coming