As the future for the MX bridges in this playbook and by themselves seems uncertain, this commit adds license information in SPDX format to the files for those bridges, before the bridges would be deprecated and possibly get removed from the project. Please note that .license files are added for the files which would be broken if such information are added as header, following the REUSE's specification. Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
		
			
				
	
	
		
			48 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			Django/Jinja
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			Django/Jinja
		
	
	
	
	
	
| {#
 | |
| SPDX-FileCopyrightText: 2024 Slavi Pantaleev
 | |
| 
 | |
| SPDX-License-Identifier: AGPL-3.0-or-later
 | |
| #}
 | |
| 
 | |
| {% if matrix_mx_puppet_slack_container_labels_traefik_enabled %}
 | |
| traefik.enable=true
 | |
| 
 | |
| {% if matrix_mx_puppet_slack_container_labels_traefik_docker_network %}
 | |
| traefik.docker.network={{ matrix_mx_puppet_slack_container_labels_traefik_docker_network }}
 | |
| {% endif %}
 | |
| 
 | |
| traefik.http.services.matrix-mx-puppet-slack.loadbalancer.server.port={{ matrix_mx_puppet_slack_appservice_port }}
 | |
| 
 | |
| {% if matrix_mx_puppet_slack_container_labels_public_endpoint_enabled %}
 | |
| ############################################################
 | |
| #                                                          #
 | |
| # Public                                                   #
 | |
| #                                                          #
 | |
| ############################################################
 | |
| 
 | |
| traefik.http.routers.matrix-mx-puppet-slack-public.rule={{ matrix_mx_puppet_slack_container_labels_public_endpoint_traefik_rule }}
 | |
| 
 | |
| {% if matrix_mx_puppet_slack_container_labels_public_endpoint_traefik_priority | int > 0 %}
 | |
| traefik.http.routers.matrix-mx-puppet-slack-public.priority={{ matrix_mx_puppet_slack_container_labels_public_endpoint_traefik_priority }}
 | |
| {% endif %}
 | |
| 
 | |
| traefik.http.routers.matrix-mx-puppet-slack-public.service=matrix-mx-puppet-slack
 | |
| traefik.http.routers.matrix-mx-puppet-slack-public.entrypoints={{ matrix_mx_puppet_slack_container_labels_public_endpoint_traefik_entrypoints }}
 | |
| 
 | |
| traefik.http.routers.matrix-mx-puppet-slack-public.tls={{ matrix_mx_puppet_slack_container_labels_public_endpoint_traefik_tls | to_json }}
 | |
| {% if matrix_mx_puppet_slack_container_labels_public_endpoint_traefik_tls %}
 | |
| traefik.http.routers.matrix-mx-puppet-slack-public.tls.certResolver={{ matrix_mx_puppet_slack_container_labels_public_endpoint_traefik_tls_certResolver }}
 | |
| {% endif %}
 | |
| 
 | |
| ############################################################
 | |
| #                                                          #
 | |
| # /Public                                                  #
 | |
| #                                                          #
 | |
| ############################################################
 | |
| {% endif %}
 | |
| 
 | |
| 
 | |
| {% endif %}
 | |
| 
 | |
| {{ matrix_mx_puppet_slack_container_labels_additional_labels }}
 |