hookshot/config.sample.yml
2020-02-24 13:20:35 +00:00

39 lines
1.4 KiB
YAML

github:
# You can find this by going to https://github.com/settings/installations,
# clicking on the bridge app and taking note of the ID in the URL.
# E.g. https://github.com/settings/installations/6854059
installationId: 6854059
auth:
id: 123
privateKeyFile: "github-key.pem"
oauth:
client_id: foo
client_secret: bar
redirect_uri: baz
webhook:
secret: webhooksecret
port: 7775
bindAddress: 0.0.0.0
userTokens:
# If you want to hardcode a users token in the config
- "@hardcoded:localhost": "foobarbaz"
# This is used to securely store passwords.
# Run openssl genpkey -out passkey.pem -outform PEM -algorithm RSA -pkeyopt rsa_keygen_bits:4096
passFile: "passkey.pem"
bridge:
# Homeserver servername
domain: example.com
# Homeserver (internal) url
url: http://localhost:8008
# This is your public facing url where media is served from
mediaUrl: http://example.com/
port: 9993 # Port the appservice is binding to
bindAddress: 127.0.0.1 # Address to bind to
queue:
monolithic: true # If this is false, use a Redis server as a queue.
# Redis settings
port: 6379 # Port for the redis server, omit for 6379
host: localhost # Port for the redis server, omit for localhost
# Note that setting the above will make the bridge use redis as a storage location
logging:
level: "info" # One of "debug", "info", "warn", "error"