mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-10-31 07:17:57 +01:00 
			
		
		
		
	Make hookshot hardcoded public URLs dynamic
This commit is contained in:
		| @@ -61,7 +61,7 @@ matrix_hookshot_github_oauth_id: ''  # "Client ID" on the GitHub App page | ||||
| matrix_hookshot_github_oauth_secret: ''  # "Client Secret" on the GitHub App page | ||||
| # Default value of matrix_hookshot_github_oauth_endpoint: "/hookshot/webhooks/oauth" | ||||
| matrix_hookshot_github_oauth_endpoint: "{{ matrix_hookshot_webhook_endpoint }}/oauth" | ||||
| matrix_hookshot_github_oauth_uri: "https://{{ matrix_server_fqn_matrix }}{{ matrix_hookshot_github_oauth_endpoint }}" | ||||
| matrix_hookshot_github_oauth_uri: "{{ matrix_hookshot_urlprefix }}{{ matrix_hookshot_github_oauth_endpoint }}" | ||||
| # These are the default settings mentioned here and don't need to be modified: https://matrix-org.github.io/matrix-hookshot/usage/room_configuration/github_repo.html#configuration | ||||
| matrix_hookshot_github_ignore_hooks: "{}" | ||||
| matrix_hookshot_github_command_prefix: '!gh' | ||||
| @@ -86,32 +86,10 @@ matrix_hookshot_gitlab_instances: | ||||
| matrix_hookshot_gitlab_secret: '' | ||||
|  | ||||
|  | ||||
| matrix_hookshot_jira_enabled: false | ||||
| # Get the these values from https://matrix-org.github.io/matrix-hookshot/setup/jira.html#jira-oauth | ||||
| matrix_hookshot_jira_secret: '' | ||||
| matrix_hookshot_jira_oauth_enabled: false | ||||
| matrix_hookshot_jira_oauth_id: '' | ||||
| matrix_hookshot_jira_oauth_secret: '' | ||||
| # Default value of matrix_hookshot_jira_oauth_endpoint: "/hookshot/webhooks/jira/oauth" | ||||
| matrix_hookshot_jira_oauth_endpoint: "{{ matrix_hookshot_webhook_endpoint }}/jira/oauth" | ||||
| matrix_hookshot_jira_oauth_uri: "{{ matrix_server_fqn_matrix }}{{ matrix_hookshot_jira_oauth_endpoint }}" | ||||
|  | ||||
|  | ||||
| # No need to change these | ||||
| matrix_hookshot_generic_enabled: true | ||||
| # Default value of matrix_hookshot_generic_endpoint: "/hookshot/webhooks" | ||||
| matrix_hookshot_generic_endpoint: "{{ matrix_hookshot_webhook_endpoint }}" | ||||
| # urlprefix gets updated with protocol & port in group_vars/matrix_servers | ||||
| matrix_hookshot_generic_urlprefix: "{{ matrix_server_fqn_matrix }}{{ matrix_hookshot_generic_endpoint }}" | ||||
| matrix_hookshot_generic_allow_js_transformation_functions: false | ||||
| # If you're also using matrix-appservice-webhooks, take care that these prefixes don't overlap | ||||
| matrix_hookshot_generic_user_id_prefix: '_webhooks_' | ||||
|  | ||||
|  | ||||
| matrix_hookshot_figma_enabled: false | ||||
| # Default value of matrix_hookshot_figma_endpoint: "/hookshot/webhooks/figma/webhook" | ||||
| matrix_hookshot_figma_endpoint: "{{ matrix_hookshot_webhook_endpoint }}/figma/webhook" | ||||
| matrix_hookshot_figma_publicUrl: "{{ matrix_server_fqn_matrix }}{{ matrix_hookshot_figma_endpoint }}" | ||||
| matrix_hookshot_figma_publicUrl: "{{ matrix_hookshot_urlprefix }}{{ matrix_hookshot_figma_endpoint }}" | ||||
| # To bridge figma webhooks, you need to configure one of multiple instances like this: | ||||
| # matrix_hookshot_figma_instances: | ||||
| #   your-instance: | ||||
| @@ -120,12 +98,35 @@ matrix_hookshot_figma_publicUrl: "{{ matrix_server_fqn_matrix }}{{ matrix_hooksh | ||||
| #       passcode: your-webhook-passcode | ||||
|  | ||||
|  | ||||
| matrix_hookshot_jira_enabled: false | ||||
| # Get the these values from https://matrix-org.github.io/matrix-hookshot/setup/jira.html#jira-oauth | ||||
| matrix_hookshot_jira_secret: '' | ||||
| matrix_hookshot_jira_oauth_enabled: false | ||||
| matrix_hookshot_jira_oauth_id: '' | ||||
| matrix_hookshot_jira_oauth_secret: '' | ||||
| # Default value of matrix_hookshot_jira_oauth_endpoint: "/hookshot/webhooks/jira/oauth" | ||||
| matrix_hookshot_jira_oauth_endpoint: "{{ matrix_hookshot_webhook_endpoint }}/jira/oauth" | ||||
| matrix_hookshot_jira_oauth_uri: "{{ matrix_hookshot_urlprefix }}{{ matrix_hookshot_jira_oauth_endpoint }}" | ||||
|  | ||||
|  | ||||
| # No need to change these | ||||
| matrix_hookshot_generic_enabled: true | ||||
| # Default value of matrix_hookshot_generic_endpoint: "/hookshot/webhooks" | ||||
| matrix_hookshot_generic_endpoint: "{{ matrix_hookshot_webhook_endpoint }}" | ||||
| # urlprefix gets updated with protocol & port in group_vars/matrix_servers | ||||
| matrix_hookshot_generic_urlprefix: "{{ matrix_hookshot_urlprefix }}{{ matrix_hookshot_generic_endpoint }}" | ||||
| matrix_hookshot_generic_allow_js_transformation_functions: false | ||||
| # If you're also using matrix-appservice-webhooks, take care that these prefixes don't overlap | ||||
| matrix_hookshot_generic_user_id_prefix: '_webhooks_' | ||||
|  | ||||
|  | ||||
| # There is no need to edit ports. use matrix_hookshot_container_http_host_bind_ports below to expose ports instead. | ||||
| matrix_hookshot_provisioning_port: 9002 | ||||
| matrix_hookshot_provisioning_secret: '' | ||||
| # Provisioning will be automatically enabled if dimension is enabled and you have provided a provisioning secret, unless you override it | ||||
| matrix_hookshot_provisioning_enabled: false | ||||
| matrix_hookshot_provisioning_endpoint: "{{ matrix_hookshot_public_endpoint }}/v1" | ||||
| matrix_hookshot_provisioning_internal: "/v1" | ||||
| matrix_hookshot_provisioning_endpoint: "{{ matrix_hookshot_public_endpoint }}{{ matrix_hookshot_provisioning_internal }}" | ||||
|  | ||||
| # You can configure access to the bridge as documented here https://matrix-org.github.io/matrix-hookshot/setup.html#permissions | ||||
| # When empty, the default permissions are applied. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user