Welcome to Awesome Traefik, a collection of contributions around Traefik and Docker/Docker-Compose.
These samples provide a starting point for how to integrate different services using a Compose file and to manage their deployment with Docker Compose and Traefik.
These instructions will get you through the bootstrap phase of creating and deploying samples of containerized applications with Docker Compose and Traefik.
- Make sure that you have Docker and Docker Compose installed
- Windows or macOS: Install Docker Desktop
- Linux: Install Docker and then Docker Compose
- Download some or all of the samples from this repository.
- Launch Traefik first.
- It is also necessary to launch an instance of Traefik beforehand. You can find the docker-compose file here :
- Traefik HTTPS with let's encrypt, ssl redirection and by default some security headers: Launch Traefik
The root directory of each sample contains the docker-compose.yaml
which
describes the configuration of service components. All samples can be run in
a local environment by going into the root directory of each one and executing:
docker-compose up -d
Check the README.md
of each sample to get more details on the structure and
what is the expected output.
To stop and remove the all containers of the sample application run:
docker-compose down
We welcome examples that help people understand how to use Traefik with Docker Compose for common applications.