dockerized atproto relay
Dockerized AT Protocol Relay#
Heavily copy and pasted influenced by phil's relay configurations and futur.blue's whitewind blog post
Setup#
clone this repo and change directory into it
git clone git@tangled.sh:dane.is.extraordinarily.cool/relay-docker
cd relay-docker
clone the indigo repo
git clone git@github.com:bluesky-social/indigo.git
rename the .env.example file to just .env
mv .env.example .env
add values for these env variables, see configuration and operation section in the indigo repo to understand what the values mean
RELAY_LENIENT_SYNC_VALIDATION=true
RELAY_REPLAY_WINDOW=24h
RELAY_PERSIST_DIR=/data/relay/persist
RELAY_ADMIN_PASSWORD=
RELAY_TRUSTED_DOMAINS=
RELAY_HOST_CONCURRENCY=4
# database env
DATABASE_URL=
POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_DB=
start relay
docker compose up -d
verify that it is running
curl localhost:2470
PDS Crawling#
see bootstrapping host list and the how to do it section in futur's blog post to see how to bootstrap your relay with pdses
note: im still figuring this out so i may be missing a lot of stuff