https://github.com/denji/letsencrypt-certbot
Let's Encrypt Certbot container
https://github.com/denji/letsencrypt-certbot
alpine alpine-image docker docker-image letsencrypt
Last synced: 1 day ago
JSON representation
Let's Encrypt Certbot container
- Host: GitHub
- URL: https://github.com/denji/letsencrypt-certbot
- Owner: denji
- License: unlicense
- Created: 2017-03-13T16:47:21.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-02-24T04:02:06.000Z (over 2 years ago)
- Last Synced: 2025-09-01T01:06:51.295Z (10 months ago)
- Topics: alpine, alpine-image, docker, docker-image, letsencrypt
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/denji/letsencrypt-certbot/
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Let's Encrypt Certbot container
[](https://microbadger.com/images/denji/letsencrypt-certbot)
### Docker image
[](https://microbadger.com/images/denji/letsencrypt-certbot) [](https://hub.docker.com/r/denji/letsencrypt-certbot/builds/) [](https://hub.docker.com/r/denji/letsencrypt-certbot/) [](https://hub.docker.com/r/denji/letsencrypt-certbot/)
## Usage
### Set up a Certbot container
See example compose file at [`/alpine/docker-compose.yml`](/alpine/docker-compose.yml).
docker-compose up -d; docker-compose logs
### Register new domain
```sh
docker exec -it example_certbot_1 \
certbot \
certonly \
--standalone \
--text \
--email email@example.com \
--agree-tos \
--standalone-supported-challenges http-01 \
--domains example.com
```
Explanation:
```sh
docker exec -it example_certbot_1 # enter composed container
certbot # run `certbot`
certonly # we write our own configs
--standalone # auth method
--text # disable ncurses interface
--email email@example.com # this is usually req'd
--agree-tos # this is always req'd
--standalone-supported-challenges http-01 # disable :443 check
--domains example.com # the domain we are reg'ing
```