mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-10 02:17:59 +00:00
22 lines
556 B
Bash
Executable file
22 lines
556 B
Bash
Executable file
#!/bin/bash
|
|
|
|
cat << EOF > relay.yaml
|
|
# this is the path that the object graph will get dumped to (in JSON-LD format),
|
|
# you probably shouldn't change it, but you can if you want.
|
|
db: files/relay.jsonld
|
|
|
|
# Listener
|
|
listen: 0.0.0.0
|
|
port: ${PORT:-5000}
|
|
|
|
# Note
|
|
note: "Make a note about your instance here."
|
|
|
|
# this section is for ActivityPub
|
|
ap:
|
|
# this is used for generating activitypub messages, as well as instructions for
|
|
# linking AP identities. it should be an SSL-enabled domain reachable by https.
|
|
host: '$HOSTNAME'
|
|
blocked_instances: []
|
|
EOF
|