Skip to content
This repository has been archived by the owner on Oct 21, 2018. It is now read-only.

Latest commit

 

History

History
26 lines (23 loc) · 592 Bytes

README.md

File metadata and controls

26 lines (23 loc) · 592 Bytes

certbot

Minimalistic docker container for certbot
See https://letsencrypt.org/
Build (for arm64) : https://hub.docker.com/r/benoitdr/certbot/

Usage :

Get the certificate on first run :

edit ./cert_get.sh (replace email and domain name)
edit ./nginx/default.conf (replace domain name)

cp docker-compose.yml_1 ./docker-compose.yml  
docker-compose up -d  
./cert_get.sh
docker-compose down  
cp docker-compose.yml_2 ./docker-compose.yml  

Next run(s) :

docker-compose up -d  

To renew the certificate (in crontab) :

./cert_renew.sh