From f3ec6f5f33218055b7b2c1d4a74e14b73a79ff22 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Fri, 8 Jul 2022 10:49:19 +0200 Subject: [PATCH] cloudflare example --- docker-compose.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 0fc75855..9083d9e0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -45,6 +45,19 @@ services: # https://hub.docker.com/r/certbot/certbot and adjust CERTBOT_ARGS env variable # note: you will need to authenticate your dns request so consult the plugin docs # configuration https://eff-certbot.readthedocs.io/en/stable/using.html#dns-plugins + # + # ================================================================================= + # example docker-compose.yml changes required for Cloudflare dns provider: + # + # image: certbot/dns-cloudflare + # environment: + # - CERTBOT_ARGS=--dns-cloudflare --dns-cloudflare-credentials /etc/letsencrypt/cloudflare.ini + # + # create ./docker/data/certbot/cloudflare.ini file with the following content: + # dns_cloudflare_api_token = + # + # make sure that the file has 0400 permissions with: + # chmod 0400 ./docker/data/certbot/cloudflare.ini image: certbot/dns-route53:v1.28.0 entrypoint: sh /entrypoint.sh container_name: certbot