This repository covers basic examples for using Traefik and Docker. All examples can be executed locally, which allows easy testing and adjusting to your own needs.
A lot of these examples are explained in detail in my blog: jensknipper.de. In case you are running in some problems or need some background information you should take a look at these articles.
For the purpose of simpler declaration I will not make use of configuration files, but only use docker labels.
Feel free to open tickets or merge requests if you think something is missing.
These examples expose the docker sock as read only to Traefik. To harden your setup you might want to use docker-socket-proxy.
- https and www redirect - www to non-www version
- https and www redirect - per service
- digest auth
- rate limiting
- load balancing
- port instead of domain
- socket proxy