Docker Compose setup for starting Traefik with Let's Encrypt by Solution Libre.
-
Create an external network:
docker network create web
-
Clone this repo:
cd /opt git clone https://usine.solution-libre.fr/docker/traefik.git cd traefik
-
Declare environment variables or copy the
.env.dist
to.env
and adjust its values. -
Copy the
.env.traefik.dist
to.env.traefik
and adjust its values.
cd /opt/traefik
docker compose up -d
See REFERENCE.md.
Solution Libre's repositories are open projects, and community contributions are essential for keeping them great.
Fork this repo on our GitLab or on GitHub
The list of contributors can be found at: https://usine.solution-libre.fr/docker/traefik/-/graphs/main