ansible-role-traefik/defaults/main.yml

39 lines
797 B
YAML
Raw Normal View History

2020-11-27 12:52:52 +01:00
traefik_api_rule: "Host(`{{ inventory_hostname }}`)"
traefik_metric_rule: "({{ traefik_api_rule }}) && PathPrefix(`/metrics`)"
traefik_users:
- name: "test"
password: "$apr1$H6uskkkW$IgXLP6ewTrSuBkTrqE8wj/"
2020-11-27 12:56:33 +01:00
traefik_onlyoffice: []
2020-11-27 12:52:52 +01:00
traefik_proxy: []
traefik_tcp_proxy: []
traefik_config:
entryPoints:
ssh:
address: ":22"
web:
address: ":80"
websecure:
address: ":443"
rtmp:
address: ":1935"
providers:
file:
directory: "/etc/traefik/conf.d/"
watch: true
serversTransport:
insecureSkipVerify: true
certificatesResolvers:
my-resolver:
acme:
storage: "/etc/traefik/acme.json"
tlsChallenge: {}
api:
dashboard: true
metrics:
prometheus:
addServicesLabels: true
manualRouting: true