Sign inSign up

programmerq/dehydrated

By programmerq

Updated almost 6 years ago

dehydrated acme client with lexicon support

Image
0

383

programmerq/dehydrated repository overview

Docker image for dehydrated and lexicon

See https://github.com/lukas2511/dehydrated and https://github.com/AnalogJ/lexicon

I created this image to make it easy to generate and maintain letsencrypt certificates using dehydrated's support for the dns-01 verification method, combined with lexicon since it handles so many DNS providers.

Basic Usage

This will run the dehydrated script without a configuration file. $PROVIDER is used by lexicon.letsencrypt.sh to determine which provider to call lexicon with. $LEXICON_* variables set the credentials for lexicon to talk to the DNS provider. /dehydrated/certs is the directory where certificates will actually be stored.

docker run --rm -it \
       -e PROVIDER="cloudflare" \
       -e LEXICON_CLOUDFLARE_USERNAME='[email protected]' \
       -e LEXICON_CLOUDFLARE_TOKEN=`123456789012345678901234567890123456` \
       -v `pwd`/certs:/dehydrated/certs \
       programmerq/dehydrated -c -d test.example.com -t dns-01 -k /lexicon.dehydrated.sh

More advanced usage

You can take advantage of the dehydrated domains.txt and config file. See example here

mkdir certs
echo test.example.com > certs/domains.txt

Tag summary

Content type

Image

Digest

Size

354.1 MB

Last updated

almost 6 years ago

docker pull programmerq/dehydrated