buzzrelay/config.yaml

21 lines
780 B
YAML
Raw Normal View History

2023-01-11 17:45:45 +00:00
# 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"
2023-01-11 17:45:45 +00:00
# external https hostname
2022-12-19 20:20:13 +00:00
hostname: relay.fedi.buzz
2023-01-11 17:45:45 +00:00
# where your reverse proxy will connect to
2022-12-19 20:20:13 +00:00
listen_port: 3000
2023-01-11 17:45:45 +00:00
# ActivityPub signing keypair
2022-12-19 20:20:13 +00:00
priv_key_file: private-key.pem
pub_key_file: public-key.pem
2023-01-11 17:45:45 +00:00
# PostgreSQL
2022-12-19 20:20:13 +00:00
db: "host=localhost user=relay password=xyz dbname=buzzrelay"