mirror of
https://github.com/KevinMidboe/playbooks-retailor.git
synced 2026-09-07 13:32:06 +00:00
play for installing traefik on lb servers
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
entryPoints:
|
||||
web:
|
||||
address: ":{{ traefik_web_port }}"
|
||||
websecure:
|
||||
address: ":{{ traefik_websecure_port }}"
|
||||
traefik:
|
||||
address: ":{{ traefik_dashboard_port }}"
|
||||
metrics:
|
||||
address: ":{{ traefik_metrics_port }}"
|
||||
|
||||
providers:
|
||||
file:
|
||||
directory: "{{ traefik_dynamic_dir }}"
|
||||
watch: true
|
||||
|
||||
api:
|
||||
dashboard: true
|
||||
insecure: {{ traefik_dashboard_insecure | lower }}
|
||||
|
||||
log:
|
||||
level: INFO
|
||||
|
||||
accessLog: {}
|
||||
|
||||
certificatesResolvers:
|
||||
letsencrypt:
|
||||
acme:
|
||||
email: "{{ traefik_acme_email }}"
|
||||
storage: /etc/traefik/acme.json
|
||||
httpChallenge:
|
||||
entryPoint: web
|
||||
|
||||
metrics:
|
||||
prometheus:
|
||||
entryPoint: metrics
|
||||
addEntryPointsLabels: true
|
||||
addServicesLabels: true
|
||||
addRoutersLabels: true
|
||||
Reference in New Issue
Block a user