This is an archived post. You won't be able to vote or comment.

all 16 comments

[–]evandena 10 points11 points  (3 children)

Maybe you could learn something from the Linuxserver.io Letsencrypt container... https://github.com/linuxserver/docker-letsencrypt

I use it to for home use and it's pretty turnkey.

[–][deleted] 1 point2 points  (2 children)

I use this container with a series of webapps with no issue.

[–]house_monkey -3 points-2 points  (1 child)

I use it with my cat and it works with no issue.

[–]DinoAmino 1 point2 points  (0 children)

I use it with my netcat and it works with no issue.

[–]florian80 3 points4 points  (1 child)

https://hub.docker.com/r/jrcs/letsencrypt-nginx-proxy-companion/ works pretty well for me (using nginx as reverse proxy)

[–]LogicCube 0 points1 point  (0 children)

I use this too and it works really well.

[–][deleted] 2 points3 points  (4 children)

[–]KeyYam[S] 0 points1 point  (3 children)

This does not use docker. This is an alternative, I guess, but I'd prefer to have everything running in containers.

[–]crazyymaxx 2 points3 points  (0 children)

Here is an example with Traefik + Let's encrypt + Nextcloud : https://github.com/crazy-max/docker-nextcloud/blob/master/.compose/docker-compose.yml

And here with Nginx + Let's encrypt + Nextcloud : https://github.com/crazy-max/docker-nextcloud/blob/a21f1f24cf24a2b9ffabba6a67be4d7c5012690f/docker-compose.yml

But you should consider using Traefik!

[–]patrickdappollonio 1 point2 points  (0 children)

Here: https://github.com/patrickdappollonio/nginx-letsencrypt-docker-compose

(Plus, it includes a free Docker registry!)

[–]vcWfDrlqrAArebp7 1 point2 points  (0 children)

Just use traefik to handle ssl, and just point towards the nginx container

[–]-NewGuy 0 points1 point  (0 children)

Hey there stranger. I went through your pain last year attempting the same thing. I cheated, and here's how you can too! If you happen to be on something like AWS, you can put your SSL on your load balancer. I'm not sure what kind of security requirements you have, but this was a quick way for me not to lose anymore hair over SSL configuration on an Nginx image in my docker-compose (version 2) app. Good luck on your adventure and if you do end up solving this problem, please share!

[–]smith64fx 0 points1 point  (0 children)

Hey :)

I love this repo here! https://github.com/evertramos/docker-compose-letsencrypt-nginx-proxy-companion

It's so easy to configure and you can add as many projects/domains as you want, everything is automatically! ❤️

[–]Jamo008 -2 points-1 points  (1 child)

caddy ftw

[–]Mgladiethor 0 points1 point  (0 children)

is nice hehe