You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Markus Pesch f9857f7a39
fix: use podman
1 month ago
.drone.yml fix: use podman 1 month ago
.editorconfig Intial Commit 1 year ago
.gitattributes fix: delete image after build or push, use orgsecret 3 months ago
.gitignore fix: delete image after build or push, use orgsecret 3 months ago
Dockerfile Intial Commit 1 year ago
LICENSE Intial Commit 1 year ago
Makefile fix: use podman 1 month ago
README.md fix: migrate to gitea/drone 10 months ago
docker-compose.yml add: docker-compose.yml 1 year ago

README.md

container-certbot

Build Status Docker Pulls

This repository, hosted on git.cryptic.systems, contains Dockerfiles to build a container image with the certbot binary. The container image based on the arch linux base image. The container image can be used to generate let's encrypt ssl certificates.

Usage

The certbot binary is defined as entrypoint. Here is an example how to get the help menue from certbot.

docker run \
  --rm \
  --volume="/etc/letsencrypt:/etc/letsencrypt:rw" \
  volkerraschek/container-certbot:latest \
  help

If you have existing certificates, you can renew your certificates with renew --noninteractive. Here the example.

docker run \
  --rm \
  --volume="/etc/letsencrypt:/etc/letsencrypt:rw" \
  volkerraschek/container-certbot:latest \
  renew --noninteractive

Alternatively you can use a docker-compose.yml.

version: "3"
services:
  certbot:
    container_name: certbot
    # certbot command which should be executed
    command: renew --noninteractive
    image: volkerraschek/container-certbot:latest
    volumes:
    - /etc/letsencrypt:/etc/letsencrypt

Build image manually

To build the images manually check out the repository with git and use the make command to build the container images.

make container-image/build