infrastructure/roles/traefik
Sheogorath c04955a168
traefik: Fix tor configuration include
This patch will change the name of the config file from `traefik` to
`traefik.conf`, since tor now includes `/etc/torrc.d/*.conf` in their
config file. This should make sure that the config is actually loaded.

This patch originates from the observation that new setups no longer
create the tor hidden service for traefik. Some investigation resulted
in the insight, that the tor node is no longer including the
configuration file.
2021-05-30 17:16:35 +02:00
..
defaults automation: Update traefik Docker tag to v2.4.8 2021-03-24 02:03:38 +00:00
files Initial commit 2020-08-10 01:37:13 +02:00
handlers Initial commit 2020-08-10 01:37:13 +02:00
meta Fix meta file dependencies reference to docker_compose role 2020-09-26 20:02:46 +02:00
tasks traefik: Fix tor configuration include 2021-05-30 17:16:35 +02:00
templates traefik: Increase memory limits for tor container 2021-05-30 17:16:19 +02:00
README.md traefik: Only trust network for docker < 20.10 2020-12-10 19:39:13 +01: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!

Global variables, that are used:

  • docker_package: Defined by the docker role, this is the package name of docker within your package manager.

Dependencies

  • docker
  • docker-compose

License

GPL-3.0-only