mirror of
https://github.com/astro/buzzrelay.git
synced 2024-12-04 01:26:29 +00:00
25 lines
905 B
YAML
25 lines
905 B
YAML
# Sources
|
|
streams:
|
|
# The fedi.buzz firehose stream
|
|
- "https://fedi.buzz/api/v1/streaming/public"
|
|
# You may list the streaming API of other instances here
|
|
- "https://example.org/api/v1/streaming/public"
|
|
# Starting with Mastodon v4.2.0 this API requires
|
|
# an access_token that must be obtained from
|
|
# https://example.com/settings/applications/new
|
|
# with permission `read:statuses`
|
|
- "https://example.com/api/v1/streaming/public?access_token=EfDOWQkbWFfWsZB-4Xv0axfraMTRzSV0GhB1FVAleBs"
|
|
# external https hostname
|
|
hostname: relay.fedi.buzz
|
|
# where your reverse proxy will connect to
|
|
listen_port: 3000
|
|
# ActivityPub signing keypair
|
|
priv_key_file: private-key.pem
|
|
pub_key_file: public-key.pem
|
|
# PostgreSQL
|
|
db: "host=localhost user=relay password=xyz dbname=buzzrelay"
|
|
# Optional Redis
|
|
redis:
|
|
connection: "redis://127.0.0.1:6378/"
|
|
password_file: "redis_password.txt"
|
|
in_topic: "relay-in"
|