To run with a single host:
Docker run \
--name=dehydrated \
-e 'CF_EMAIL=email@domain.tld' \
-e 'CF_KEY=API_key' \
-e 'CF_HOST=host.domain.tld' \
-v /path/to/certs:/dehydrated/certs \
-v /path/to/accounts:/dehydrated/accounts \
ghcr.io/kmlucy/docker-dehydrated
To run with domains.txt
:
Docker run \
--name=dehydrated \
-e 'CF_EMAIL=email@domain.tld' \
-e 'CF_KEY=API_key' \
-v /path/to/domains.txt:/dehydrated/domains.txt:ro \
-v /path/to/certs:/dehydrated/certs \
-v /path/to/accounts:/dehydrated/accounts \
ghcr.io/kmlucy/docker-dehydrated
Uses: lukas2511/dehydrated and based on: kappataumu/letsencrypt-cloudflare-hook