Initial commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
id: webhooks
|
||||
hs_token: oWZdX2TBb3z8t9TGAtG28aUFAXCW8p4X9U2ovuFXAQuDitx5dd8d8tPWiqkZrca8
|
||||
as_token: tfBQmLm5UUas2wxNiLR6Z7vBSf9vdKCq9eTjZ6noAHB9gstiwWFzdsdfMW3UvjZ3
|
||||
namespaces:
|
||||
users:
|
||||
- exclusive: true
|
||||
regex: '@_webhook.*'
|
||||
url: 'http://webhook-service:9000'
|
||||
sender_localpart: webhooks
|
||||
rate_limited: false
|
||||
@@ -0,0 +1,37 @@
|
||||
# Configuration specific to the application service. All fields (unless otherwise marked) are required.
|
||||
homeserver:
|
||||
# The domain for the client-server API calls.
|
||||
url: "http://homeserver: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.ms.local"
|
||||
|
||||
# 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: "webhooks"
|
||||
|
||||
# Appearance options for the Matrix bot
|
||||
appearance:
|
||||
displayName: "Webhook Bridge"
|
||||
avatarUrl: "http://i.imgur.com/IDOBtEJ.png" # webhook icon
|
||||
|
||||
# Provisioning API options
|
||||
provisioning:
|
||||
# Your secret for the API. Required for all provisioning API requests.
|
||||
secret: 8sRqS76LUNRM6W6Z8p5syJMqdBUajcxM2wTC9hpZXh3N8ZKh8Es3oGoGHbPM853j
|
||||
|
||||
# Configuration related to the web portion of the bridge. Handles the inbound webhooks
|
||||
web:
|
||||
hookUrlBase: 'https://webhooks.ms.local'
|
||||
|
||||
logging:
|
||||
file: logs/webhook.log
|
||||
console: true
|
||||
consoleLevel: debug
|
||||
fileLevel: verbose
|
||||
writeFiles: true
|
||||
rotate:
|
||||
size: 52428800 # bytes, default is 50mb
|
||||
count: 5
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"defaultEnv": {
|
||||
"ENV": "NODE_ENV"
|
||||
},
|
||||
"development": {
|
||||
"driver": "sqlite3",
|
||||
"filename": "/data/development.db"
|
||||
},
|
||||
"production": {
|
||||
"driver": "sqlite3",
|
||||
"filename": "/data/production.db"
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Reference in New Issue
Block a user