2018-12-27 07:38:19 +00:00
|
|
|
#!/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.
|
2018-12-27 09:48:40 +00:00
|
|
|
db: files/relay.jsonld
|
2018-12-27 07:38:19 +00:00
|
|
|
|
|
|
|
# Listener
|
|
|
|
listen: 0.0.0.0
|
2018-12-27 08:06:52 +00:00
|
|
|
port: ${PORT:-5000}
|
2018-12-27 07:38:19 +00:00
|
|
|
|
|
|
|
# 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'
|
2018-12-27 08:25:42 +00:00
|
|
|
blocked_instances: []
|
2018-12-27 07:38:19 +00:00
|
|
|
EOF
|