Public | Automated Build

Last pushed: a year ago
Short Description
Run letsencrypt on docker
Full Description

Docker Image for letsencrypt

Run letsencrypt on docker

Installation

$ docker pull gnue/letsencrypt

Usage

$ docker run -t -i --rm -v "$(pwd):/data/etc/letsencrypt:/etc/letsencrypt" gnue/letsencrypt [OPTIONS] -d example.com
  • file is EPUB file only
  • OPTIONS
    • show help docker run -t -i --rm gnue/letsencrypt -h
    • can use variables
      • $file is file path
      • $fname is file name without file exstention

docker-compose

$ docker-compose run --rm letsencrypt -d example.com

Directory structure:

.
├── docker-compose.yml    # docker-compose configuration file
├── data                  #
│   └── ...
└── webroot               # web root
    └── ...

docker-compose.yml:

letsencrypt:
  image: gnue/letsencrypt
  volumes:
    - "./data/etc/letsencrypt:/etc/letsencrypt"
    - "./data/var/lib/letsencrypt:/var/lib/letsencrypt"
    - "./data/log/lib/letsencrypt:/var/log/letsencrypt"
    - "./webroot:/var/www/html"

License

MIT

Docker Pull Command
Owner
gnue
Source Repository

Comments (0)