Certbot Docker image for managing Lets Encrypt SSL certificates. Requests & validates certificates from a validation server (configured with environment vars) that can be shared with webserver containers through Docker volumes.
Docker images can be pulled using the Docker CLI.
docker pull stephenneal/certbot:v9
Add a 'certbot' container with a certs volume that is shared with your webserver(s) to your docker-compose.yml.
certbot:
image: stephenneal/certbot:v9
container_name: certbot
volumes:
- certs:/etc/letsencrypt
environment:
- validation_domain=validation.example.com
- email=user@example.com
- staging=1 # use '1' for development environments
depends_on:
- webserver
restart: "no"
When used in conjunction with stephenneal/nginx-* containers all of the domains being used by the webserver's will be written to a text file ('/etc/letsencrypt/domains.txt') that is parsed by the certbot to determine what domains to request certificates for.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email stephen.neal14@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.