Public | Automated Build

Last pushed: 8 months ago
Short Description
HTTP server listening on port 8000 and Let's encrypt's certbot.
Full Description

docker-certbot-server

Description

Dockerfile for Let's Encrypt certbot + httpd server.

Installation

docker pull felixsanz/certbot-server

Usage

You should create a docker volume and share it with both containers, the certbot-server that populates the volume with certificates, and the container that is going to make use of them.

Start the container in the background to spawn the server that will listen to Let's Encrypt requests.

docker run --rm -d --name certbot-server --volume certs:/etc/letsencrypt felixsanz/certbot-server:latest

Creation

docker exec certbot-server certbot certonly --webroot --webroot-path /srv/http -d example.com -d www.example.com --email me@example.com --agree-tos --quiet

Pass --staging --break-my-certs for testing purposes.

Renewal

docker exec certbot-server certbot renew
Docker Pull Command
Owner
felixsanz
Source Repository