Public Repository

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

For creating certificate - need start script before edit domain your_domain.com and email your_mail@gmail.com

#!/bin/bash
name=letsencrypt
domain=your_domain.com
email=your_mail@gmail.com
dockerdir=/opt/docker/$name
tag=1.0
docker rm -f $name


docker run  --net=host --rm -it  \
        -v $dockerdir/log:/var/log/letsencrypt \
        -v $dockerdir/ssl:/etc/letsencrypt/archive \
        --name $name \
        evgeniybondarenko/$name:$tag \
        certonly --email $email \
        -d $domain
Docker Pull Command
Owner
evgeniybondarenko

Comments (0)