Make Dokku-able
[relay.git/.git] / bin / pre-deploy
1 #!/bin/bash
2
3 cat << EOF > relay.yaml
4 # this is the path that the object graph will get dumped to (in JSON-LD format),
5 # you probably shouldn't change it, but you can if you want.
6 db: relay.jsonld
7
8 # Listener
9 listen: 0.0.0.0
10 port: ${PORT:-8080}
11
12 # Note
13 note: "Make a note about your instance here."
14
15 # this section is for ActivityPub
16 ap:
17   # this is used for generating activitypub messages, as well as instructions for
18   # linking AP identities.  it should be an SSL-enabled domain reachable by https.
19   host: '$HOSTNAME'
20 EOF