sfneal / certbot

Certbot Docker image for managing Lets Encrypt SSL certificates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Certbot Docker image for managing Lets Encrypt SSL certificates

License:MIT License


Languages

Language:Python 51.7%Language:Shell 24.3%Language:Dockerfile 24.0%