Skip to content

A docker compose configuration script for spinning up a Traefik instance with Lets Encrypt DNS-01 challenge supported through Cloudflare.

License

Notifications You must be signed in to change notification settings

eingress/docker-compose-traefik-letsencrypt-cloudflare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Compose Traefik + Lets Encrypt + Cloudflare

A docker compose configuration generator script for Traefik with the Lets Encrypt DNS-01 challenge supported through Cloudflare.

Usage

Generate the required compose, environment variable, and password files using acdct (current Traefik versions may be edited at the top of this file)

./acdct <output directory - defaults to current working directory>

Place compose.yaml, .env, and .htpasswd in your chosen directory, then

docker compose pull
docker compose up -d

Important

Comment out the following line in compose.yaml for production.

- --certificatesresolvers.letsencrypt.acme.caserver=https://acme-staging-v02.api.letsencrypt.org/directory

See examples for how to configure services, and an example of generated output.

About

A docker compose configuration script for spinning up a Traefik instance with Lets Encrypt DNS-01 challenge supported through Cloudflare.

Topics

Resources

License

Stars

Watchers

Forks

Languages