hookshot/config.sample.yml
2021-11-17 14:24:32 +00:00

63 lines
1.5 KiB
YAML

# This is an example configuration file
bridge:
# Basic homeserver configuration
#
domain: example.com
url: http://localhost:8008
mediaUrl: http://example.com
port: 9993
bindAddress: 127.0.0.1
github:
# (Optional) Configure this to enable GitHub support
#
installationId: 6854059
auth:
id: 123
privateKeyFile: github-key.pem
oauth:
client_id: foo
client_secret: bar
redirect_uri: https://example.com/bridge_oauth/
webhook:
secret: secrettoken
gitlab:
# (Optional) Configure this to enable GitLab support
#
instances:
gitlab.com:
url: https://gitlab.com
webhook:
secret: secrettoken
jira:
# (Optional) Configure this to enable Jira support
#
webhook:
secret: secrettoken
generic:
# (Optional) Support for generic webhook events. `allowJsTransformationFunctions` will allow users to write short transformation snippets in code, and thus is unsafe in untrusted environments
#
enabled: false
allowJsTransformationFunctions: false
webhook:
# HTTP webhook listener options
#
port: 9000
bindAddress: 0.0.0.0
passFile:
# A passkey used to encrypt tokens stored inside the bridge.
# Run openssl genpkey -out passkey.pem -outform PEM -algorithm RSA -pkeyopt rsa_keygen_bits:4096 to generate
#
passkey.pem
queue:
# (Optional) Message queue / cache configuration options for large scale deployments
#
monolithic: true
port: 6379
host: localhost
logging:
# (Optional) Logging settings. You can have a severity debug,info,warn,error
#
level: info