infrastructure/roles/traefik
Sheogorath 4a5c245128
traefik: Remove file provider config options when omitted
Currently there is an ugly error message when traefik tries to read the
dynamic_conf directory while it doesn't exists, because no dynamic
config is definied. This patch makes the config, given that it's not
defined truely optional and gets rid of the error message.
2020-08-21 17:11:55 +02:00
..
defaults traefik: Fix IPv6 support to work properly 2020-08-18 15:35:55 +02:00
files Initial commit 2020-08-10 01:37:13 +02:00
handlers Initial commit 2020-08-10 01:37:13 +02:00
meta Initial commit 2020-08-10 01:37:13 +02:00
tasks traefik: Fix IPv6 support to work properly 2020-08-18 15:35:55 +02:00
templates traefik: Remove file provider config options when omitted 2020-08-21 17:11:55 +02:00
README.md Initial commit 2020-08-10 01:37:13 +02:00

Traefik

This will setup a Traefik server that acts as a dynamic reverse proxy and uses docker labels to route traffic. It also takes care about enabling/renewing Let's Encrypt certificates if specified.

Note: If using the IPv6 configuration: When changing the address etc, you will need to manually take care about removing old/unused firewall rules!

Requirements

You will need to have docker and docker-compose installed or declared as dependencies with their respective roles.

Role Variables

Please look at the defaults/main.yml for all available variables and their description.

Note: Lines that are commented out via # are usually still valid/used variables, but they are not defined by default, so they might enable a feature, when uncommenting/defining them!

Dependencies

  • docker
  • docker-compose

License

GPL-3.0-only