Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/einarsi/traefik-domeneshop

Extension to traefik docker image with script to enable LetsEncrypt DNS-01 challenges for Domeneshop
https://github.com/einarsi/traefik-domeneshop

dns-challenge docker-image traefik

Last synced: about 1 month ago
JSON representation

Extension to traefik docker image with script to enable LetsEncrypt DNS-01 challenges for Domeneshop

Awesome Lists containing this project

README

        

# Traefik-Domeneshop

![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/kybber/traefik-domeneshop)
![Docker Cloud Automated build](https://img.shields.io/docker/cloud/automated/kybber/traefik-domeneshop)
![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/kybber/traefik-domeneshop)
![Docker Stars](https://img.shields.io/docker/stars/kybber/traefik-domeneshop)
![Docker Pulls](https://img.shields.io/docker/pulls/kybber/traefik-domeneshop)

This docker image amends the official [Traefik](https://hub.docker.com/_/traefik) image to enable LetsEncrypt [DNS challenges](https://docs.traefik.io/user-guides/docker-compose/acme-dns/) for [Domeneshop](https://domene.shop/) customers.

The challenge is performed by a Python script, which means that the dnsChallenge [provider](https://docs.traefik.io/v2.0/https/acme/#providers) must be set to `exec` ([External Program](https://go-acme.github.io/lego/dns/exec/)).

## Usage:
Obtain a token and secret from your [Domeneshop API keys page](https://domene.shop/admin?view=api)
and place them in the following environment variables:
```
DOMENESHOP_TOKEN
DOMENESHOP_SECRET
```
The following optional environment variables can be defined to modify the polling interval and propagation timeout:
```
EXEC_POLLING_INTERVAL
EXEC_PROPAGATION_TIMEOUT
```
Run the container like your would use the official [Traefik](https://hub.docker.com/_/traefik) image, but ensure that your Traefik configuration sets
`certificatesResolvers.myresolver.acme.dnsChallenge.provider` to `exec`.