mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-10-24 13:18:55 +02:00
Feat: Added element call setup and configuration.
This commit is contained in:
11
roles/custom/matrix-element-call/templates/labels.j2
Normal file
11
roles/custom/matrix-element-call/templates/labels.j2
Normal file
@@ -0,0 +1,11 @@
|
||||
# Docker labels for Traefik or other routing
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.{{ matrix_element_call_hostname | replace('.', '_') }}-router.rule: "Host(`{{ matrix_element_call_hostname }}`)"
|
||||
traefik.http.routers.{{ matrix_element_call_hostname | replace('.', '_') }}-router.entrypoints: "{{ matrix_element_call_container_labels_traefik_entrypoints }}"
|
||||
traefik.http.routers.{{ matrix_element_call_hostname | replace('.', '_') }}-router.tls.certresolver: "{{ matrix_element_call_container_labels_traefik_tls_certResolver }}"
|
||||
traefik.http.services.{{ matrix_element_call_hostname | replace('.', '_') }}-service.loadbalancer.server.port: "8080"
|
||||
|
||||
# Additional labels (if any) specified by the user
|
||||
{% for key, value in matrix_element_call_container_extra_arguments.items() %}
|
||||
{{ key }}: "{{ value }}"
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user