Docker Compose setup for starting Træfik with Let's Encrypt.
Create an external network:
docker network create web
Clone this repo:
cd /opt
git clone https://github.com/solution-libre/docker-traefik.git traefik
cd traefik
Declare environment variables or copy the .env.dist
to .env
and adjust its values.
cd /opt/traefik
docker compose up -d
Activate DNS-01 Challenge. (Default: false
)
Use a DNS-01 based challenge provider rather than HTTPs.
Email address used for ACME registration. (Default: webmaster@my.domain.tld
)
Activate HTTP-01 Challenge. (Default: false
)
Activate TLS-ALPN-01 Challenge. (Default: true
)
Default TLS domains. (Default: my.domain.tld
)
HTTP listen port. (Default: 80
)
HTTPs listen port. (Default: 443
)
Solution Libre's repositories are open projects, and community contributions are essential for keeping them great.
The list of contributors can be found at: https://github.com/solution-libre/docker-traefik/graphs/contributors