docker-flow-proxy with letsencrypt, based on n1b0r/docker-flow-proxy-letsencrypt
50K+
NOTE: I modified this App.py to use with CloudFlare DNS challenge, will keep working and cleaning it to allow it to be used in a more generic way, maybe even with other DNS providers using the same principle.... There a few bugs in the original version that I wish to remove: typically cleanup secrets on service removal. Also, the current version won't check for manual hooks properly, this is also to be added...
docker-flow-proxy-letsencrypt is a docker-flow-proxy companion that automatically create and renew certificates for your swarm services using letsencrypt.
Join the #df-letsencrypt Slack channel in DevOps20 and ping me (@nibor) if you have any questions, suggestions, or problems.
The mecanism is mostly inspired by the JrCs/docker-letsencrypt-nginx-proxy-companion designed for jwilder/nginx-proxy.
Normally (without using DFPLE) when a new service is created in the swarm, the docker-flow-swarm-listener (DFSL) will send a notify request to the docker-flow-proxy (DFP) wich reload based on new config.
DFSL -----notify-----> DFP
docker-flow-proxy-letsencrypt (DFPLE) acts as a man-in-the-middle service which gets notify requests from DFSL, process its work, and then forward original request to DFP.
DFSL -----notify-----> DFPLE -----notify-----> DFP
Its work consists in :
Check the tutorial to get started with docker-flow-proxy-letsencrypt environment.
Please note that in order to keep persistent certificates :
/etc/letsencrypt,You can use both dns and http letsencrypt ACME challenges (see configuration).
Automatic renewal is performed at fixed interval. By default renewal process is performed once per day at 2.30 am. You can specify your own interval using LETSENCRYPT_RENEWAL_CRON env var on DFLE (see configuration).
Content type
Image
Digest
Size
41.7 MB
Last updated
about 5 years ago
docker pull netadvanced/docker-flow-proxy-letsencrypt