mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00
Add sample config
This commit is contained in:
parent
24e5f156ed
commit
8c150d4b87
@ -1,7 +1,6 @@
|
||||
# This is an example configuration file
|
||||
|
||||
- key: bridge
|
||||
value:
|
||||
bridge:
|
||||
# Basic homeserver configuration
|
||||
#
|
||||
domain: example.com
|
||||
@ -9,8 +8,7 @@
|
||||
mediaUrl: http://example.com
|
||||
port: 9993
|
||||
bindAddress: 127.0.0.1
|
||||
- key: github
|
||||
value:
|
||||
github:
|
||||
# (Optional) Configure this to enable support for GitHub
|
||||
#
|
||||
installationId: 6854059
|
||||
@ -23,8 +21,7 @@
|
||||
redirect_uri: https://example.com/bridge_oauth/
|
||||
webhook:
|
||||
secret: secrettoken
|
||||
- key: gitlab
|
||||
value:
|
||||
gitlab:
|
||||
# (Optional) Configure this to enable support for GitLab
|
||||
#
|
||||
instances:
|
||||
@ -32,27 +29,23 @@
|
||||
url: https://gitlab.com
|
||||
webhook:
|
||||
secret: secrettoken
|
||||
- key: webhook
|
||||
value:
|
||||
webhook:
|
||||
# HTTP webhook listener options
|
||||
#
|
||||
port: 9000
|
||||
bindAddress: 0.0.0.0
|
||||
- key: passFile
|
||||
value:
|
||||
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
|
||||
- key: queue
|
||||
value:
|
||||
queue:
|
||||
# (Optional) Message queue / cache configuration options for large scale deployments
|
||||
#
|
||||
monolithic: true
|
||||
port: 6379
|
||||
host: localhost
|
||||
- key: logging
|
||||
value:
|
||||
logging:
|
||||
# (Optional) Logging settings. You can have a severity debug,info,warn,error
|
||||
#
|
||||
level: info
|
||||
|
Loading…
x
Reference in New Issue
Block a user