38 lines
774 B
YAML
38 lines
774 B
YAML
|
traefik_api_rule: "Host(`{{ inventory_hostname }}`)"
|
||
|
traefik_metric_rule: "({{ traefik_api_rule }}) && PathPrefix(`/metrics`)"
|
||
|
|
||
|
traefik_users:
|
||
|
- name: "test"
|
||
|
password: "$apr1$H6uskkkW$IgXLP6ewTrSuBkTrqE8wj/"
|
||
|
|
||
|
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
|