Closed patrickleet closed 7 years ago
I am currently thinking about the implementation. I would like to keep things simple and I am thinking adding a new service into the proxy stack to handle the cron job.
I would like to use the busybox image which has crond built-in. This service could periodically send a notify-services request to swarm-listener and let letsencrypt renew certs if needed.
That could be very easy to handle, and could be ready soon.
Do you have any thoughts about it ?
If you're OK with Go, I can give you the code that does Cron-like scheduling. It is very lightweight and served me well by now. Also, there are quite a few LE libraries in Go (e.g. https://github.com/ericchiang/letsencrypt, https://github.com/xenolf/lego) that would allow relatively easy development.
I'm not trying to convince you to use Go. It's more like a brainstorming from my part...
We have same mecanics in python, I will produce something for renewal by the end of the week. Stay tuned.
implemented using a crond job in release 0.3
Any idea of timelines for working on this feature?