https://github.com/volker-raschek/certbot-docker
[MIRROR]: Source files of the container image volkerraschek/certbot
https://github.com/volker-raschek/certbot-docker
certbot container
Last synced: about 2 months ago
JSON representation
[MIRROR]: Source files of the container image volkerraschek/certbot
- Host: GitHub
- URL: https://github.com/volker-raschek/certbot-docker
- Owner: volker-raschek
- License: other
- Created: 2024-12-20T09:13:17.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2025-02-28T20:06:09.000Z (3 months ago)
- Last Synced: 2025-02-28T23:25:57.496Z (3 months ago)
- Topics: certbot, container
- Language: Makefile
- Homepage: https://hub.docker.com/r/volkerraschek/certbot
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# certbot-docker
[](https://drone.cryptic.systems/volker.raschek/certbot-docker)
[](https://hub.docker.com/r/volkerraschek/certbot)This project contains all sources to build the container image
`docker.io/volkerraschek/certbot`. The primary goal of the image is to run
certbot inside a container to support distributions which does not deploy a
newer version of certbot.## Usage
The certbot binary is defined as entrypoint. Here is an example how to get the
`help` menue from certbot.```bash
docker run \
--rm \
--volume="/etc/letsencrypt:/etc/letsencrypt:rw" \
volkerraschek/certbot-docker:latest \
help
```If you have existing certificates, you can renew your certificates with `renew --noninteractive`.
Here the example.```bash
docker run \
--rm \
--volume="/etc/letsencrypt:/etc/letsencrypt:rw" \
volkerraschek/certbot-docker:latest \
renew --noninteractive
```Alternatively you can use a `docker-compose.yml`.
```bash
version: "3"
services:
certbot:
container_name: certbot
# certbot command which should be executed
command: renew --noninteractive
image: volkerraschek/certbot-docker:latest
volumes:
- /etc/letsencrypt:/etc/letsencrypt
```## Build image manually
To build the images manually check out the
[repository](https://github.com/volker-raschek/certbot-docker) with `git` and use
the `make` command to build the container images.```bash
make container-image/build
```