https://omarghader.github.io/haproxy-letsencrypt-docker-certbot-certificates/
mkdir -p ./letsencrypt mkdir -p ./certs
./bin/create-dummy.cert.sh
docker-compose up
./bin/create-cert.sh test1.domain "test1.domain,test2.domain" [email protected] --dry-run
./bin/create-cert.sh test1.domain "test1.domain,test2.domain" [email protected]
cat ./certs/test1.domain.pem
rm -rf ./certs/test.pem
docker-compose down docker-compose up
./bin/renew-certs.sh
0 0 1 * * ./bin/renew-certs.sh