Skip to content
/ certbot Public

Certbot Docker image for managing Lets Encrypt SSL certificates

License

Notifications You must be signed in to change notification settings

sfneal/certbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sfneal/certbot

Build Status Total Downloads Latest Version

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.

Installation

Docker images can be pulled using the Docker CLI.

docker pull stephenneal/certbot:v9

Usage

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.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email stephen.neal14@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.