A Docker image for obtaining Let's Encrypt SSL certificates for AWS Route53 domains using dehydrated and whereisaaron/dehydrated-route53-hook-script. This is hugely based off the Cloudflare version found in TimDumol/docker-dehydrated-cloudflare
This is where the certs and account data will be stored
$ docker create \
-v /etc/ssl/certs:/dehydrated/certs \
-v /dehydrated/accounts \
--name dehydrated-data \
charlesverdad/docker-dehydrated-route53
Register an account with the CA. You only need to do this once.
$ docker run --rm \
-e CONTACT_EMAIL='tech@example.com' \
--volumes-from dehydrated-data \
charlesverdad/docker-dehydrated-route53 \
--register \
--accept-terms
$ docker run \
-e CONTACT_EMAIL='tech@example.com' \
-e AWS_ACCESS_KEY_ID=youraccesskeyid \
-e AWS_SECRET_ACCESS_KEY='yoursecretaccesskey' \
--volumes-from dehydrated-data \
charlesverdad/docker-dehydrated-route53 \
--cron \
-d "*.example.com" \
--alias example