···28282929```bash
3030RELAY_LENIENT_SYNC_VALIDATION=true
3131-RELAY_REPLAY_WINDOW=24h
3131+RELAY_REPLAY_WINDOW=48h
3232RELAY_PERSIST_DIR=/data/relay/persist
3333RELAY_ADMIN_PASSWORD=
3434RELAY_TRUSTED_DOMAINS=
···4141POSTGRES_DB=
4242```
43434444-start relay
4444+update the caddy file to point to your domain (make sure you have set up the necessary dns records)
4545+4646+```bash
4747+// conf/Caddyfile
4848+4949+yourdomain.com {
5050+ reverse_proxy relay:2470
5151+}
5252+```
5353+5454+if you wanted to just test things out you can use something like ngrok
5555+5656+```bash
5757+ngrok http 2470
5858+```
5959+6060+then just take whatever domain is generated for you and add it to the caddyfile
6161+6262+start the relay
45634664```bash
4765docker compose up -d
···57755876see [bootstrapping host list](https://github.com/bluesky-social/indigo/blob/main/cmd/relay/README.md#bootstrapping-host-list) and the [how to do it](https://whtwnd.com/futur.blue/3lkubavdilf2m) section in futur's blog post to see how to bootstrap your relay with pdses
59776060-note: im still figuring this out so i may be missing a lot of stuff7878+for convenience, I've included a `pull-hosts.sh` bash script that pretty much does the same thing described in the indigo repo. make sure the relay is not running before proceeding.
7979+8080+to use this script you'd need to [install `goat`](https://github.com/bluesky-social/indigo/tree/main/cmd/goat#install)
8181+8282+make the script executable and run it and redirect the output to a text file
8383+8484+```bash
8585+chmod u+x pull-hosts.sh
8686+8787+./pull-hosts > hosts.txt
8888+```
8989+9090+we can then use `goat` to add hosts to the relay
9191+9292+```bash
9393+shuf hosts.txt | parallel goat relay admin host add {}
9494+```
···11-CREATE DATABASE relay;
22-33-CREATE USER relay WITH SUPERUSER PASSWORD "changeme";
44-GRANT ALL PRIVILEGES ON DATABASE relay TO relay;11+ALTER USER relay WITH SUPERUSER;