Files
playbooks-retailor/roles/traefik/templates/dynamic-hosts.yml.j2
T
2026-08-11 00:33:12 +02:00

29 lines
694 B
Django/Jinja
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## Managed by Ansible — do not edit by hand.
## Source: traefik_web_private_ips (group_vars/lb.yml)
http:
routers:
retailor-web:
rule: "Host(`app.{{ traefik_domain }}`)"
service: retailor-web-svc
entryPoints:
- websecure
tls:
certResolver: letsencrypt
domains:
- main: "app.{{ traefik_domain }}"
sans:
- "blog-1.{{ traefik_domain }}"
services:
retailor-web-svc:
loadBalancer:
servers:
{% for web_ip in traefik_web_private_ips %}
- url: "http://{{ web_ip }}:80"
{% endfor %}
healthCheck:
path: /health
interval: "10s"
timeout: "3s"