Skip to content
This repository has been archived by the owner on Jul 9, 2023. It is now read-only.

Bimbalacom/caddy-cloudflare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Bimbala's Cloudflare Caddy container

Please see the Caddy Docker Image for deployment instructions.

Structure / idea is forked from Caddy community.

You can obtain your API token from the Cloudflare Portal.

  1. To create a API token:

    1. Log into your dashboard, go to account settings, create API token

    2. grant the following permissions:

      • Zone / Zone / Read
      • Zone / DNS / Edit
  2. You should add the following to your Caddyfile as the tls directives.

    tls {$CLOUDFLARE_EMAIL} { 
      dns cloudflare {$CLOUDFLARE_API_TOKEN}
    }
    
  3. Add the following to your environment file (env):

     CLOUDFLARE_EMAIL=me@example.com 
     CLOUDFLARE_API_TOKEN=12345 
     ACME_AGREE=true
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published