matrix: add missing hookshot configs
All checks were successful
/ diff-and-deploy (push) Successful in 2m20s
All checks were successful
/ diff-and-deploy (push) Successful in 2m20s
This commit is contained in:
parent
e0d12d622e
commit
fa3f1b3570
3 changed files with 96 additions and 0 deletions
86
k8s/matrix/hookshot/config.yml
Normal file
86
k8s/matrix/hookshot/config.yml
Normal file
|
@ -0,0 +1,86 @@
|
|||
bot:
|
||||
avatar: mxc://half-shot.uk/2876e89ccade4cb615e210c458e2a7a6883fe17d
|
||||
displayname: Hookshot Bot
|
||||
bridge:
|
||||
bindAddress: 0.0.0.0
|
||||
domain: janky.bot
|
||||
mediaUrl: https://hookshot.janky.bot
|
||||
port: 9993
|
||||
url: http://homeserver-janky-bot:8008
|
||||
github:
|
||||
enterpriseUrl: "https://git.janky.solutions"
|
||||
auth:
|
||||
id: 123
|
||||
privateKeyFile: github-key.pem
|
||||
webhook:
|
||||
secret: secrettoken
|
||||
oauth:
|
||||
client_id: foo
|
||||
client_secret: bar
|
||||
redirect_uri: https://example.com/oauth/
|
||||
defaultOptions:
|
||||
showIssueRoomLink: false
|
||||
generic:
|
||||
allowJsTransformationFunctions: true
|
||||
enableHttpGet: false
|
||||
enabled: false
|
||||
urlPrefix: https://hookshot.janky.bot/webhook/
|
||||
userIdPrefix: _webhooks_
|
||||
waitForComplete: false
|
||||
listeners:
|
||||
- bindAddress: 0.0.0.0
|
||||
port: 9000
|
||||
resources:
|
||||
- webhooks
|
||||
- widgets
|
||||
- bindAddress: 127.0.0.1
|
||||
port: 9001
|
||||
resources:
|
||||
- metrics
|
||||
- provisioning
|
||||
logging:
|
||||
colorize: true
|
||||
json: false
|
||||
level: info
|
||||
timestampFormat: HH:mm:ss:SSS
|
||||
metrics:
|
||||
enabled: true
|
||||
passFile: /data/passkey.pem
|
||||
permissions:
|
||||
- actor: "@finn@janky.solutions"
|
||||
services:
|
||||
- level: admin
|
||||
service: '*'
|
||||
serviceBots:
|
||||
- avatar: ./assets/feeds_avatar.png
|
||||
displayname: Feeds
|
||||
localpart: hookshot_feeds
|
||||
prefix: '!feeds'
|
||||
service: feeds
|
||||
widgets:
|
||||
addToAdminRooms: false
|
||||
branding:
|
||||
widgetTitle: Hookshot Configuration
|
||||
disallowedIpRanges:
|
||||
- 127.0.0.0/8
|
||||
- 10.0.0.0/8
|
||||
- 172.16.0.0/12
|
||||
- 192.168.0.0/16
|
||||
- 100.64.0.0/10
|
||||
- 192.0.0.0/24
|
||||
- 169.254.0.0/16
|
||||
- 192.88.99.0/24
|
||||
- 198.18.0.0/15
|
||||
- 192.0.2.0/24
|
||||
- 198.51.100.0/24
|
||||
- 203.0.113.0/24
|
||||
- 224.0.0.0/4
|
||||
- ::1/128
|
||||
- fe80::/10
|
||||
- fc00::/7
|
||||
- 2001:db8::/32
|
||||
- ff00::/8
|
||||
- fec0::/10
|
||||
publicUrl: https://hookshot.janky.bot/widgetapi/v1/static/
|
||||
roomSetupWidget:
|
||||
addOnInvite: false
|
1
k8s/matrix/hookshot/passkey.pem
Normal file
1
k8s/matrix/hookshot/passkey.pem
Normal file
|
@ -0,0 +1 @@
|
|||
{{ .hookshotPasskey }}
|
9
k8s/matrix/hookshot/registration.yml
Normal file
9
k8s/matrix/hookshot/registration.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
as_token: {{ .hookshotASToken }}
|
||||
hs_token: {{ .hookshotHSToken }}
|
||||
id: hookshot
|
||||
namespaces:
|
||||
rooms: []
|
||||
users: []
|
||||
rate_limited: false
|
||||
sender_localpart: hookshot
|
||||
url: http://hookshot:9993
|
Loading…
Add table
Add a link
Reference in a new issue