-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
config.yaml
25 lines (25 loc) · 905 Bytes
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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"