yavende/certbotThis repo hosts the code for an docker image that bootstrap a containr with certbot-auto and an elixir executable yavende_certbot that serves as a wrapper aroud the latter.
Got to use something like elixir because I needed to pass a flag -d domain to certbot-auto certonly for each domain in an splited environment variable $DOMAINS. Doing that with bash proved to be a pain in the arse.
The final purpose of this project is to provide an automated method to provide SSL certificates for mulitple domains using the excellent letsencrypt and it's CLI tool certbot-auto.
This image is meant to be used with docker-compose.
ymlservices: certbot: image: yavende/certbot:latest environment: - WEBROOT_PATH=/var/www/acme_challenge - SIGNING_EMAIL=*** - DOMAINS=yavende.com, api.yavende.com, admin.yavende.com volumes: - acme_challenge:/var/www/acme_challenge
The image building is automated via DockeHub and Github webhook, so just pushing changes to a tag or master will trigger the building.
However, for development you may want to build the image locally. Modify the CLI at lib/cli.ex. Then build the executable and the docker image:
bashTAG=latest ./build






manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务