Giter VIP home page Giter VIP logo

docker-dehydrated-lexicon's Introduction

OVERVIEW

Forked from mlaihk/docker-dehydrated-Lexicon to update with latest dns-lexicon(3.1.7).

This project is designed to be a small docker to Create/Renew Let's Encrypt Certs by making use of the greate Dehydrated script by lukas2511 and Lexicon by AnalogJ. The image is based on Python:Alpine to make it as small as possible. It also borrowed from idea from csmith that the domains.txt will be monitor realtime for changes. The docker will need a volume /letsencrypt for storing app data and certs. It will also require the following environment variables for dehydrated and the normal environment variables for Lexicon:

EMAIL: <Your email passed to Let's Encrypt for notifications>
PROVIDER: <Designate provider for Lexicon>
LEXICON_<PROVIDER>USERNAME: <Username to use for Lexicon to connect to your DNS provider>
LEXICON<PROVIDER>TOKEN: <API Key from your DNS provider>
LEXICON<PROVIDER>_PASSWORD: <Account password for your DNS provider>
For example:
PROVIDER: cloudflare
LEXICON_CLOUDFLARE_USERNAME:[email protected]
LEXICON_CLOUDFLARE_TOKEN: asdf1231239182309af
Optional Environment Variable:
KEY_ALGO: {rsa|prime256v1|secp384r1}

This will tell dehydrated what algorithm to use for generating the private key. If not defined, will assume rsa for general cert issuance.

USAGE for AWS route53

Create certs/letsencrypt/domains.txt file for domains that need Let's Encrypt certs.

Define the following environment variables. AWS_PROFILE will be used to pull AWS credentials and set LEXICON_ROUTE53_AUTH_ACCESS_KEY and LEXICON_ROUTE53_AUTH_ACCESS_SECRET in do_it.sh.

export EMAIL=<Your email passed to Let's Encrypt for notifications>
export AWS_PROFILE=<AWS configuration profile in ~/.aws/credentials>
export DOMAINS=<list of delegated domains>
./do_it

docker-dehydrated-lexicon's People

Contributors

csmith avatar xueshanf avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.