feat(drawio): support extra hostnames via drawio_extra_domains

Add drawio_extra_domains (list, default empty). The traefik Host rule
on the drawio router now expands to Host(<canonical>) || Host(<extra>)
... so the same container can answer on additional FQDNs — e.g. an
internal *.int.* name so a DMZ reverse-proxy can reach drawio via a
backend hostname covered by the local traefik cert.

Empty by default; behaviour unchanged for existing inventories.
This commit is contained in:
Simon Bärlocher 2026-05-26 14:16:23 +02:00
parent d476bca4f5
commit 1f9292cc9a
No known key found for this signature in database
GPG key ID: 63DE20495932047A
2 changed files with 5 additions and 1 deletions

View file

@ -11,6 +11,10 @@ drawio_docker_compose_dir: "{{ docker_compose_base_dir }}/{{ drawio_service_name
# Service configuration
drawio_domain: "drawio.local.test"
# Additional hostnames the same drawio container should answer on
# (e.g. an internal *.int.* FQDN so a DMZ reverseproxy can reach
# drawio via a backend hostname covered by the local traefik cert).
drawio_extra_domains: []
drawio_image: "jgraph/drawio:latest"
drawio_port: 8080
drawio_extra_hosts: []