infrastructure/roles/matrix/templates/webhooks/config.yaml

40 lines
1.3 KiB
YAML
Raw Normal View History

2021-01-02 13:46:16 +01:00
{{ ansible_managed | comment }}
# Configuration specific to the application service. All fields (unless otherwise marked) are required.
homeserver:
# The domain for the client-server API calls.
url: "http://synapse:8008"
# The domain part for user IDs on this home server. Usually, but not always, this is the same as the
# home server's URL.
domain: "{{ matrix_synapse_servername }}"
# Configuration specific to the bridge. All fields (unless otherwise marked) are required.
webhookBot:
# The localpart to use for the bot. May require re-registering the application service.
localpart: "_webhook"
# Appearance options for the Matrix bot
appearance:
displayName: "{{ matrix_webhooks_display_name }}"
avatarUrl: "{{ matrix_webhooks_avatar }}" # webhook icon
# Provisioning API options
provisioning:
# Your secret for the API. Required for all provisioning API requests.
secret: '{{ matrix_webhooks_provisioning_key }}'
# Configuration related to the web portion of the bridge. Handles the inbound webhooks
web:
hookUrlBase: 'https://{{ matrix_webhooks_domain }}/'
logging:
file: data/logs/webhook.log
console: true
consoleLevel: info
fileLevel: verbose
writeFiles: true
rotate:
size: 52428800 # bytes, default is 50mb
count: 5