Skip to content

Caddy reverse proxy with the Cloudflare plugin attached.

License

Notifications You must be signed in to change notification settings

igoramadas/docker-caddy-cloudflare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caddy + Cloudflare DNS plugin

Based on the official Caddy image, this also includes the Cloudflare DNS plugin.

Environment variables

  • CLOUDFLARE_EMAIL
  • CLOUDFLARE_API_TOKEN

To get the Cloudflare API token please follow these instructions.

Running it

$ docker pull igoramadas/caddy-cloudflare

$ docker run -it --name caddy-cloudflare \
             -p 80:80 \
             -p 443:443 \
             -v /mount/to/caddy/data:/data \
             -v /mount/to/caddy/config:/config \
             -v /mount/to/Caddyfile:/etc/caddy/Caddyfile \
             -e [email protected] \
             -e CLOUDFLARE_API_TOKEN=my-api-token \
             igoramadas/caddy-cloudflare

Please note that you might need to adjust the exposed ports accordingly.

Other options

Please check the official caddy Docker image for extra options running the service.

About

Caddy reverse proxy with the Cloudflare plugin attached.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published