Formatting fix

This commit is contained in:
MrMeeb 2022-06-18 23:10:07 +00:00
parent afd88220aa
commit 85ec77a260

View File

@ -1,8 +1,8 @@
## Cerbot Docker # Cerbot Docker
Docker Certbot that runs on a schedule to create and renew SSL certificates. Uses Cloudflare for DNS-01 verification. Automatic renewal attempt happens every 6 hours. Docker Certbot that runs on a schedule to create and renew SSL certificates. Uses Cloudflare for DNS-01 verification. Automatic renewal attempt happens every 6 hours.
# Building ## Building
```git clone https://git.mrmeeb.stream/certbot-cron-docker ```git clone https://git.mrmeeb.stream/certbot-cron-docker
@ -17,7 +17,7 @@ docker run -d --name certbot-cron \
certbot-cron certbot-cron
``` ```
# Environment Variables: ## Environment Variables:
| Variable | Default Value | Description | | Variable | Default Value | Description |
| --- | --- | --- | | --- | --- | --- |
@ -26,10 +26,12 @@ docker run -d --name certbot-cron \
| INTERVAL | 0 */6 * * * | How often certbot attempts to renew the certificate. Cron syntax | | INTERVAL | 0 */6 * * * | How often certbot attempts to renew the certificate. Cron syntax |
| STAGING | false | Uses the LetsEncrypt staging endpoint for testing - avoids the aggressive rate-limiting of the production endpoint | | STAGING | false | Uses the LetsEncrypt staging endpoint for testing - avoids the aggressive rate-limiting of the production endpoint |
# Volumes ## Volumes
| Docker path | Purpose | | Docker path | Purpose |
| --- | --- | | --- | --- |
| /config | Stores configs and LetsEncrypt output for mounting in other containers | /config | Stores configs and LetsEncrypt output for mounting in other containers
## Other
Thanks to [this guy](https://stackoverflow.com/questions/63447441/docker-stop-for-crond-times-out) for explaining how to make cron actually shutdown when stopping the container. Thanks to [this guy](https://stackoverflow.com/questions/63447441/docker-stop-for-crond-times-out) for explaining how to make cron actually shutdown when stopping the container.