mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00
deploy: 01159fa0d155c826557d046d816406c5f00b5e74
This commit is contained in:
parent
3f5594da2a
commit
8f7f81ef4e
@ -395,7 +395,7 @@ required to apply any changes made to this file.</p>
|
|||||||
|
|
||||||
bridge:
|
bridge:
|
||||||
# Basic homeserver configuration
|
# Basic homeserver configuration
|
||||||
#
|
|
||||||
domain: example.com
|
domain: example.com
|
||||||
url: http://localhost:8008
|
url: http://localhost:8008
|
||||||
mediaUrl: https://example.com
|
mediaUrl: https://example.com
|
||||||
@ -403,35 +403,35 @@ bridge:
|
|||||||
bindAddress: 127.0.0.1
|
bindAddress: 127.0.0.1
|
||||||
github:
|
github:
|
||||||
# (Optional) Configure this to enable GitHub support
|
# (Optional) Configure this to enable GitHub support
|
||||||
#
|
|
||||||
auth:
|
auth:
|
||||||
# Authentication for the GitHub App.
|
# Authentication for the GitHub App.
|
||||||
#
|
|
||||||
id: 123
|
id: 123
|
||||||
privateKeyFile: github-key.pem
|
privateKeyFile: github-key.pem
|
||||||
webhook:
|
webhook:
|
||||||
# Webhook settings for the GitHub app.
|
# Webhook settings for the GitHub app.
|
||||||
#
|
|
||||||
secret: secrettoken
|
secret: secrettoken
|
||||||
oauth:
|
oauth:
|
||||||
# (Optional) Settings for allowing users to sign in via OAuth.
|
# (Optional) Settings for allowing users to sign in via OAuth.
|
||||||
#
|
|
||||||
client_id: foo
|
client_id: foo
|
||||||
client_secret: bar
|
client_secret: bar
|
||||||
redirect_uri: https://example.com/bridge_oauth/
|
redirect_uri: https://example.com/bridge_oauth/
|
||||||
defaultOptions:
|
defaultOptions:
|
||||||
# (Optional) Default options for GitHub connections.
|
# (Optional) Default options for GitHub connections.
|
||||||
#
|
|
||||||
showIssueRoomLink: false
|
showIssueRoomLink: false
|
||||||
hotlinkIssues:
|
hotlinkIssues:
|
||||||
prefix: "#"
|
prefix: "#"
|
||||||
userIdPrefix:
|
userIdPrefix:
|
||||||
# (Optional) Prefix used when creating ghost users for GitHub accounts.
|
# (Optional) Prefix used when creating ghost users for GitHub accounts.
|
||||||
#
|
|
||||||
_github_
|
_github_
|
||||||
gitlab:
|
gitlab:
|
||||||
# (Optional) Configure this to enable GitLab support
|
# (Optional) Configure this to enable GitLab support
|
||||||
#
|
|
||||||
instances:
|
instances:
|
||||||
gitlab.com:
|
gitlab.com:
|
||||||
url: https://gitlab.com
|
url: https://gitlab.com
|
||||||
@ -440,11 +440,11 @@ gitlab:
|
|||||||
publicUrl: https://example.com/hookshot/
|
publicUrl: https://example.com/hookshot/
|
||||||
userIdPrefix:
|
userIdPrefix:
|
||||||
# (Optional) Prefix used when creating ghost users for GitLab accounts.
|
# (Optional) Prefix used when creating ghost users for GitLab accounts.
|
||||||
#
|
|
||||||
_gitlab_
|
_gitlab_
|
||||||
figma:
|
figma:
|
||||||
# (Optional) Configure this to enable Figma support
|
# (Optional) Configure this to enable Figma support
|
||||||
#
|
|
||||||
publicUrl: https://example.com/hookshot/
|
publicUrl: https://example.com/hookshot/
|
||||||
instances:
|
instances:
|
||||||
your-instance:
|
your-instance:
|
||||||
@ -453,22 +453,22 @@ figma:
|
|||||||
passcode: your-webhook-passcode
|
passcode: your-webhook-passcode
|
||||||
jira:
|
jira:
|
||||||
# (Optional) Configure this to enable Jira support. Only specify `url` if you are using a On Premise install (i.e. not atlassian.com)
|
# (Optional) Configure this to enable Jira support. Only specify `url` if you are using a On Premise install (i.e. not atlassian.com)
|
||||||
#
|
|
||||||
webhook:
|
webhook:
|
||||||
# Webhook settings for JIRA
|
# Webhook settings for JIRA
|
||||||
#
|
|
||||||
secret: secrettoken
|
secret: secrettoken
|
||||||
oauth:
|
oauth:
|
||||||
# (Optional) OAuth settings for connecting users to JIRA. See documentation for more information
|
# (Optional) OAuth settings for connecting users to JIRA. See documentation for more information
|
||||||
#
|
|
||||||
client_id: foo
|
client_id: foo
|
||||||
client_secret: bar
|
client_secret: bar
|
||||||
redirect_uri: https://example.com/bridge_oauth/
|
redirect_uri: https://example.com/bridge_oauth/
|
||||||
generic:
|
generic:
|
||||||
# (Optional) Support for generic webhook events.
|
# (Optional) Support for generic webhook events.
|
||||||
#'allowJsTransformationFunctions' will allow users to write short transformation snippets in code, and thus is unsafe in untrusted environments
|
#'allowJsTransformationFunctions' will allow users to write short transformation snippets in code, and thus is unsafe in untrusted environments
|
||||||
#
|
|
||||||
#
|
|
||||||
enabled: false
|
enabled: false
|
||||||
enableHttpGet: false
|
enableHttpGet: false
|
||||||
urlPrefix: https://example.com/webhook/
|
urlPrefix: https://example.com/webhook/
|
||||||
@ -477,27 +477,27 @@ generic:
|
|||||||
waitForComplete: false
|
waitForComplete: false
|
||||||
feeds:
|
feeds:
|
||||||
# (Optional) Configure this to enable RSS/Atom feed support
|
# (Optional) Configure this to enable RSS/Atom feed support
|
||||||
#
|
|
||||||
enabled: false
|
enabled: false
|
||||||
pollIntervalSeconds: 600
|
pollIntervalSeconds: 600
|
||||||
pollTimeoutSeconds: 30
|
pollTimeoutSeconds: 30
|
||||||
provisioning:
|
provisioning:
|
||||||
# (Optional) Provisioning API for integration managers
|
# (Optional) Provisioning API for integration managers
|
||||||
#
|
|
||||||
secret: "!secretToken"
|
secret: "!secretToken"
|
||||||
passFile:
|
passFile:
|
||||||
# A passkey used to encrypt tokens stored inside the bridge.
|
# 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
|
# Run openssl genpkey -out passkey.pem -outform PEM -algorithm RSA -pkeyopt rsa_keygen_bits:4096 to generate
|
||||||
#
|
|
||||||
passkey.pem
|
passkey.pem
|
||||||
bot:
|
bot:
|
||||||
# (Optional) Define profile information for the bot user
|
# (Optional) Define profile information for the bot user
|
||||||
#
|
|
||||||
displayname: Hookshot Bot
|
displayname: Hookshot Bot
|
||||||
avatar: mxc://half-shot.uk/2876e89ccade4cb615e210c458e2a7a6883fe17d
|
avatar: mxc://half-shot.uk/2876e89ccade4cb615e210c458e2a7a6883fe17d
|
||||||
serviceBots:
|
serviceBots:
|
||||||
# (Optional) Define additional bot users for specific services
|
# (Optional) Define additional bot users for specific services
|
||||||
#
|
|
||||||
- localpart: feeds
|
- localpart: feeds
|
||||||
displayname: Feeds
|
displayname: Feeds
|
||||||
avatar: mxc://half-shot.uk/2876e89ccade4cb615e210c458e2a7a6883fe17d
|
avatar: mxc://half-shot.uk/2876e89ccade4cb615e210c458e2a7a6883fe17d
|
||||||
@ -505,25 +505,25 @@ serviceBots:
|
|||||||
service: feeds
|
service: feeds
|
||||||
metrics:
|
metrics:
|
||||||
# (Optional) Prometheus metrics support
|
# (Optional) Prometheus metrics support
|
||||||
#
|
|
||||||
enabled: true
|
enabled: true
|
||||||
queue:
|
queue:
|
||||||
# (Optional) Message queue / cache configuration options for large scale deployments.
|
# (Optional) Message queue / cache configuration options for large scale deployments.
|
||||||
# For encryption to work, must be set to monolithic mode and have a host & port specified.
|
# For encryption to work, must be set to monolithic mode and have a host & port specified.
|
||||||
#
|
|
||||||
monolithic: true
|
monolithic: true
|
||||||
port: 6379
|
port: 6379
|
||||||
host: localhost
|
host: localhost
|
||||||
logging:
|
logging:
|
||||||
# (Optional) Logging settings. You can have a severity debug,info,warn,error
|
# (Optional) Logging settings. You can have a severity debug,info,warn,error
|
||||||
#
|
|
||||||
level: info
|
level: info
|
||||||
colorize: true
|
colorize: true
|
||||||
json: false
|
json: false
|
||||||
timestampFormat: HH:mm:ss:SSS
|
timestampFormat: HH:mm:ss:SSS
|
||||||
widgets:
|
widgets:
|
||||||
# (Optional) EXPERIMENTAL support for complimentary widgets
|
# (Optional) EXPERIMENTAL support for complimentary widgets
|
||||||
#
|
|
||||||
addToAdminRooms: false
|
addToAdminRooms: false
|
||||||
disallowedIpRanges:
|
disallowedIpRanges:
|
||||||
- 127.0.0.0/8
|
- 127.0.0.0/8
|
||||||
@ -552,7 +552,7 @@ widgets:
|
|||||||
widgetTitle: Hookshot Configuration
|
widgetTitle: Hookshot Configuration
|
||||||
permissions:
|
permissions:
|
||||||
# (Optional) Permissions for using the bridge. See docs/setup.md#permissions for help
|
# (Optional) Permissions for using the bridge. See docs/setup.md#permissions for help
|
||||||
#
|
|
||||||
- actor: example.com
|
- actor: example.com
|
||||||
services:
|
services:
|
||||||
- service: "*"
|
- service: "*"
|
||||||
@ -563,7 +563,7 @@ listeners:
|
|||||||
# 'port' must be specified. Each listener must listen on a unique port.
|
# 'port' must be specified. Each listener must listen on a unique port.
|
||||||
# 'bindAddress' will default to '127.0.0.1' if not specified, which may not be suited to Docker environments.
|
# 'bindAddress' will default to '127.0.0.1' if not specified, which may not be suited to Docker environments.
|
||||||
# 'resources' may be any of webhooks, widgets, metrics, provisioning
|
# 'resources' may be any of webhooks, widgets, metrics, provisioning
|
||||||
#
|
|
||||||
- port: 9000
|
- port: 9000
|
||||||
bindAddress: 0.0.0.0
|
bindAddress: 0.0.0.0
|
||||||
resources:
|
resources:
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -158,7 +158,7 @@ required to apply any changes made to this file.</p>
|
|||||||
|
|
||||||
bridge:
|
bridge:
|
||||||
# Basic homeserver configuration
|
# Basic homeserver configuration
|
||||||
#
|
|
||||||
domain: example.com
|
domain: example.com
|
||||||
url: http://localhost:8008
|
url: http://localhost:8008
|
||||||
mediaUrl: https://example.com
|
mediaUrl: https://example.com
|
||||||
@ -166,35 +166,35 @@ bridge:
|
|||||||
bindAddress: 127.0.0.1
|
bindAddress: 127.0.0.1
|
||||||
github:
|
github:
|
||||||
# (Optional) Configure this to enable GitHub support
|
# (Optional) Configure this to enable GitHub support
|
||||||
#
|
|
||||||
auth:
|
auth:
|
||||||
# Authentication for the GitHub App.
|
# Authentication for the GitHub App.
|
||||||
#
|
|
||||||
id: 123
|
id: 123
|
||||||
privateKeyFile: github-key.pem
|
privateKeyFile: github-key.pem
|
||||||
webhook:
|
webhook:
|
||||||
# Webhook settings for the GitHub app.
|
# Webhook settings for the GitHub app.
|
||||||
#
|
|
||||||
secret: secrettoken
|
secret: secrettoken
|
||||||
oauth:
|
oauth:
|
||||||
# (Optional) Settings for allowing users to sign in via OAuth.
|
# (Optional) Settings for allowing users to sign in via OAuth.
|
||||||
#
|
|
||||||
client_id: foo
|
client_id: foo
|
||||||
client_secret: bar
|
client_secret: bar
|
||||||
redirect_uri: https://example.com/bridge_oauth/
|
redirect_uri: https://example.com/bridge_oauth/
|
||||||
defaultOptions:
|
defaultOptions:
|
||||||
# (Optional) Default options for GitHub connections.
|
# (Optional) Default options for GitHub connections.
|
||||||
#
|
|
||||||
showIssueRoomLink: false
|
showIssueRoomLink: false
|
||||||
hotlinkIssues:
|
hotlinkIssues:
|
||||||
prefix: "#"
|
prefix: "#"
|
||||||
userIdPrefix:
|
userIdPrefix:
|
||||||
# (Optional) Prefix used when creating ghost users for GitHub accounts.
|
# (Optional) Prefix used when creating ghost users for GitHub accounts.
|
||||||
#
|
|
||||||
_github_
|
_github_
|
||||||
gitlab:
|
gitlab:
|
||||||
# (Optional) Configure this to enable GitLab support
|
# (Optional) Configure this to enable GitLab support
|
||||||
#
|
|
||||||
instances:
|
instances:
|
||||||
gitlab.com:
|
gitlab.com:
|
||||||
url: https://gitlab.com
|
url: https://gitlab.com
|
||||||
@ -203,11 +203,11 @@ gitlab:
|
|||||||
publicUrl: https://example.com/hookshot/
|
publicUrl: https://example.com/hookshot/
|
||||||
userIdPrefix:
|
userIdPrefix:
|
||||||
# (Optional) Prefix used when creating ghost users for GitLab accounts.
|
# (Optional) Prefix used when creating ghost users for GitLab accounts.
|
||||||
#
|
|
||||||
_gitlab_
|
_gitlab_
|
||||||
figma:
|
figma:
|
||||||
# (Optional) Configure this to enable Figma support
|
# (Optional) Configure this to enable Figma support
|
||||||
#
|
|
||||||
publicUrl: https://example.com/hookshot/
|
publicUrl: https://example.com/hookshot/
|
||||||
instances:
|
instances:
|
||||||
your-instance:
|
your-instance:
|
||||||
@ -216,22 +216,22 @@ figma:
|
|||||||
passcode: your-webhook-passcode
|
passcode: your-webhook-passcode
|
||||||
jira:
|
jira:
|
||||||
# (Optional) Configure this to enable Jira support. Only specify `url` if you are using a On Premise install (i.e. not atlassian.com)
|
# (Optional) Configure this to enable Jira support. Only specify `url` if you are using a On Premise install (i.e. not atlassian.com)
|
||||||
#
|
|
||||||
webhook:
|
webhook:
|
||||||
# Webhook settings for JIRA
|
# Webhook settings for JIRA
|
||||||
#
|
|
||||||
secret: secrettoken
|
secret: secrettoken
|
||||||
oauth:
|
oauth:
|
||||||
# (Optional) OAuth settings for connecting users to JIRA. See documentation for more information
|
# (Optional) OAuth settings for connecting users to JIRA. See documentation for more information
|
||||||
#
|
|
||||||
client_id: foo
|
client_id: foo
|
||||||
client_secret: bar
|
client_secret: bar
|
||||||
redirect_uri: https://example.com/bridge_oauth/
|
redirect_uri: https://example.com/bridge_oauth/
|
||||||
generic:
|
generic:
|
||||||
# (Optional) Support for generic webhook events.
|
# (Optional) Support for generic webhook events.
|
||||||
#'allowJsTransformationFunctions' will allow users to write short transformation snippets in code, and thus is unsafe in untrusted environments
|
#'allowJsTransformationFunctions' will allow users to write short transformation snippets in code, and thus is unsafe in untrusted environments
|
||||||
#
|
|
||||||
#
|
|
||||||
enabled: false
|
enabled: false
|
||||||
enableHttpGet: false
|
enableHttpGet: false
|
||||||
urlPrefix: https://example.com/webhook/
|
urlPrefix: https://example.com/webhook/
|
||||||
@ -240,27 +240,27 @@ generic:
|
|||||||
waitForComplete: false
|
waitForComplete: false
|
||||||
feeds:
|
feeds:
|
||||||
# (Optional) Configure this to enable RSS/Atom feed support
|
# (Optional) Configure this to enable RSS/Atom feed support
|
||||||
#
|
|
||||||
enabled: false
|
enabled: false
|
||||||
pollIntervalSeconds: 600
|
pollIntervalSeconds: 600
|
||||||
pollTimeoutSeconds: 30
|
pollTimeoutSeconds: 30
|
||||||
provisioning:
|
provisioning:
|
||||||
# (Optional) Provisioning API for integration managers
|
# (Optional) Provisioning API for integration managers
|
||||||
#
|
|
||||||
secret: "!secretToken"
|
secret: "!secretToken"
|
||||||
passFile:
|
passFile:
|
||||||
# A passkey used to encrypt tokens stored inside the bridge.
|
# 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
|
# Run openssl genpkey -out passkey.pem -outform PEM -algorithm RSA -pkeyopt rsa_keygen_bits:4096 to generate
|
||||||
#
|
|
||||||
passkey.pem
|
passkey.pem
|
||||||
bot:
|
bot:
|
||||||
# (Optional) Define profile information for the bot user
|
# (Optional) Define profile information for the bot user
|
||||||
#
|
|
||||||
displayname: Hookshot Bot
|
displayname: Hookshot Bot
|
||||||
avatar: mxc://half-shot.uk/2876e89ccade4cb615e210c458e2a7a6883fe17d
|
avatar: mxc://half-shot.uk/2876e89ccade4cb615e210c458e2a7a6883fe17d
|
||||||
serviceBots:
|
serviceBots:
|
||||||
# (Optional) Define additional bot users for specific services
|
# (Optional) Define additional bot users for specific services
|
||||||
#
|
|
||||||
- localpart: feeds
|
- localpart: feeds
|
||||||
displayname: Feeds
|
displayname: Feeds
|
||||||
avatar: mxc://half-shot.uk/2876e89ccade4cb615e210c458e2a7a6883fe17d
|
avatar: mxc://half-shot.uk/2876e89ccade4cb615e210c458e2a7a6883fe17d
|
||||||
@ -268,25 +268,25 @@ serviceBots:
|
|||||||
service: feeds
|
service: feeds
|
||||||
metrics:
|
metrics:
|
||||||
# (Optional) Prometheus metrics support
|
# (Optional) Prometheus metrics support
|
||||||
#
|
|
||||||
enabled: true
|
enabled: true
|
||||||
queue:
|
queue:
|
||||||
# (Optional) Message queue / cache configuration options for large scale deployments.
|
# (Optional) Message queue / cache configuration options for large scale deployments.
|
||||||
# For encryption to work, must be set to monolithic mode and have a host & port specified.
|
# For encryption to work, must be set to monolithic mode and have a host & port specified.
|
||||||
#
|
|
||||||
monolithic: true
|
monolithic: true
|
||||||
port: 6379
|
port: 6379
|
||||||
host: localhost
|
host: localhost
|
||||||
logging:
|
logging:
|
||||||
# (Optional) Logging settings. You can have a severity debug,info,warn,error
|
# (Optional) Logging settings. You can have a severity debug,info,warn,error
|
||||||
#
|
|
||||||
level: info
|
level: info
|
||||||
colorize: true
|
colorize: true
|
||||||
json: false
|
json: false
|
||||||
timestampFormat: HH:mm:ss:SSS
|
timestampFormat: HH:mm:ss:SSS
|
||||||
widgets:
|
widgets:
|
||||||
# (Optional) EXPERIMENTAL support for complimentary widgets
|
# (Optional) EXPERIMENTAL support for complimentary widgets
|
||||||
#
|
|
||||||
addToAdminRooms: false
|
addToAdminRooms: false
|
||||||
disallowedIpRanges:
|
disallowedIpRanges:
|
||||||
- 127.0.0.0/8
|
- 127.0.0.0/8
|
||||||
@ -315,7 +315,7 @@ widgets:
|
|||||||
widgetTitle: Hookshot Configuration
|
widgetTitle: Hookshot Configuration
|
||||||
permissions:
|
permissions:
|
||||||
# (Optional) Permissions for using the bridge. See docs/setup.md#permissions for help
|
# (Optional) Permissions for using the bridge. See docs/setup.md#permissions for help
|
||||||
#
|
|
||||||
- actor: example.com
|
- actor: example.com
|
||||||
services:
|
services:
|
||||||
- service: "*"
|
- service: "*"
|
||||||
@ -326,7 +326,7 @@ listeners:
|
|||||||
# 'port' must be specified. Each listener must listen on a unique port.
|
# 'port' must be specified. Each listener must listen on a unique port.
|
||||||
# 'bindAddress' will default to '127.0.0.1' if not specified, which may not be suited to Docker environments.
|
# 'bindAddress' will default to '127.0.0.1' if not specified, which may not be suited to Docker environments.
|
||||||
# 'resources' may be any of webhooks, widgets, metrics, provisioning
|
# 'resources' may be any of webhooks, widgets, metrics, provisioning
|
||||||
#
|
|
||||||
- port: 9000
|
- port: 9000
|
||||||
bindAddress: 0.0.0.0
|
bindAddress: 0.0.0.0
|
||||||
resources:
|
resources:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user