docker icon indicating copy to clipboard operation
docker copied to clipboard

[feature] add Let's Encyrpt certificate

Open mokkin opened this issue 2 years ago • 3 comments

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.

mokkin avatar Jan 10 '23 12:01 mokkin

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

joshavant avatar Jan 21 '23 23:01 joshavant

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

krumware avatar Jan 21 '23 23:01 krumware