Get certificates with certbot using cloudflare dns in docker.
- https://eff-certbot.readthedocs.io/en/stable/install.html#running-with-docker
- https://hub.docker.com/r/certbot/dns-cloudflare
- https://certbot-dns-cloudflare.readthedocs.io/en/stable/
Set your cloudflare token in cloudflare.ini dns_cloudflare_api_token
Set your environment variables:
- APP_DIR
- CERT_DOMAIN
- CLOUDFLARE_EMAIL
Run your container.
Results will be in etc-letsencrypt directory