Browse Source

more doc clean up

dehydrated-hook-powerdns
will Farrell 8 years ago
parent
commit
88d236e068
  1. 10
      README.md

10
README.md

@ -10,6 +10,7 @@ container to generate letsencrypt certs using dehydrated + lexicon
## Docs ## Docs
- https://github.com/lukas2511/dehydrated - https://github.com/lukas2511/dehydrated
- https://github.com/AnalogJ/lexicon - https://github.com/AnalogJ/lexicon
- https://github.com/willfarrell/docker-nginx
## Dockerfile ## Dockerfile
Use to set your own defaults or overwrite in the command Use to set your own defaults or overwrite in the command
@ -58,18 +59,15 @@ docker run -d \
--challenge http-01 \ --challenge http-01 \
--force --force
# reload nginx # reload nginx to see changes
docker exec -it nginx_nginx_1 /etc/scripts/make_hpkp && /etc/init.d/nginx reload
``` ```
## Deploy ## Deploy
See https://github.com/willfarrell/docker-nginx for full example
Note the use of `--hook dehydrated-dns`, [dehydrated-dns](https://github.com/AnalogJ/lexicon/blob/master/examples/dehydrated.default.sh) is a script wrapper to call lexicon from dehydrated. Note the use of `--hook dehydrated-dns`, [dehydrated-dns](https://github.com/AnalogJ/lexicon/blob/master/examples/dehydrated.default.sh) is a script wrapper to call lexicon from dehydrated.
```bash ```bash
# private # private
docker run \ docker run \
--volumes-from nginx_nginx_1 \ --volumes-from docker_nginx_1 \
--env-file letsencrypt.env \ --env-file letsencrypt.env \
willfarrell/letsencrypt \ willfarrell/letsencrypt \
dehydrated \ dehydrated \
@ -80,7 +78,7 @@ docker run \
# public # public
docker run -d \ docker run -d \
--volumes-from nginx_nginx_1 \ --volumes-from docker_nginx_1 \
--env-file letsencrypt.env \ --env-file letsencrypt.env \
willfarrell/letsencrypt \ willfarrell/letsencrypt \
dehydrated \ dehydrated \

Loading…
Cancel
Save