This plugin helps automate the dns-01
challenge using Namecheap API.
Repo | Link |
---|---|
Docker Hub | π |
PyPi | π |
ziadh@Ziads-MacBook-Air example % tree
.
βββ docker-compose.yml
βββ namecheap.ini
0 directories, 2 files
version: '3'
services:
certbot:
image: ziadmmh/cheapbot:v0.0.3
volumes:
- ./certs:/etc/letsencrypt/live
- ./logs:/var/log/letsencrypt
- ./namecheap.ini:/root/.secrets/certbot/namecheap.ini
command: >
certbot certonly
--authenticator cheapbot -v
--cheapbot-propagation-seconds 600
--cheapbot-credentials /root/.secrets/certbot/namecheap.ini
--non-interactive --expand
--force-renewal
--server https://acme-v02.api.letsencrypt.org/directory
--agree-tos --email "EMAIL"
--cert-name DOMAIN_NAME
-d SUBDOMAIN.DOMAIN_NAME, www.DOMAIN_NAME