Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eingress/docker-compose-traefik-letsencrypt-cloudflare
A docker compose configuration script for spinning up a Traefik instance with Lets Encrypt DNS-01 challenge supported through Cloudflare.
https://github.com/eingress/docker-compose-traefik-letsencrypt-cloudflare
cloudflare compose docker letsencrypt traefik traefik-v2 traefik-v3
Last synced: 3 months ago
JSON representation
A docker compose configuration script for spinning up a Traefik instance with Lets Encrypt DNS-01 challenge supported through Cloudflare.
- Host: GitHub
- URL: https://github.com/eingress/docker-compose-traefik-letsencrypt-cloudflare
- Owner: eingress
- License: isc
- Created: 2020-12-01T10:20:22.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-11T14:03:31.000Z (5 months ago)
- Last Synced: 2024-09-11T22:01:10.657Z (5 months ago)
- Topics: cloudflare, compose, docker, letsencrypt, traefik, traefik-v2, traefik-v3
- Language: Shell
- Homepage:
- Size: 49.8 KB
- Stars: 29
- Watchers: 4
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker Compose Traefik + Lets Encrypt + Cloudflare
A docker compose configuration generator script for [Traefik](https://traefik.io/) with the [Lets Encrypt DNS-01 challenge](https://letsencrypt.org/docs/challenge-types/#dns-01-challenge) supported through [Cloudflare](cloudflare.com).
## Usage
Generate the required compose, environment variable, and password files using ```acdct``` (current Traefik versions may be edited at the top of this file)
```sh
./acdct
```Place compose.yaml, .env, and .htpasswd in your chosen directory, then
```sh
docker compose pull
docker compose up -d
```## Important
Comment out the following line in ```compose.yaml``` for production.
```yml
- --certificatesresolvers.letsencrypt.acme.caserver=https://acme-staging-v02.api.letsencrypt.org/directory
```See [examples](examples/) for how to configure services, and an example of generated output.