Skip to content

Commit

Permalink
add digitalocean
Browse files Browse the repository at this point in the history
  • Loading branch information
peakascendr authored and agners committed Jun 25, 2024
1 parent b951bfb commit 7f69310
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions letsencrypt/rootfs/etc/services.d/lets-encrypt/run
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ elif [ "${DNS_PROVIDER}" == "dns-cloudflare" ]; then

PROVIDER_ARGUMENTS+=("--${DNS_PROVIDER}" "--${DNS_PROVIDER}-credentials" "/data/dnsapikey" "--dns-cloudflare-propagation-seconds" "${PROPAGATION_SECONDS}")

# DigitalOcean
elif [ "${CHALLENGE}" == "dns" ] && [ "${DNS_PROVIDER}" == "dns-digitalocean" ]; then
bashio::config.require 'dns.digitalocean_token'
PROVIDER_ARGUMENTS+=("--authenticator" "${DNS_PROVIDER}" "--${DNS_PROVIDER}-credentials" "/data/dnsapikey" "--${DNS_PROVIDER}-propagation-seconds" "${PROPAGATION_SECONDS}")

# DirectAdmin
elif [ "${CHALLENGE}" == "dns" ] && [ "${DNS_PROVIDER}" == "dns-directadmin" ]; then
bashio::config.require 'dns.directadmin_url'
Expand Down

0 comments on commit 7f69310

Please sign in to comment.