DRAFT role docker-bluesky

Setup

Set variables

bluesky_pds_jwt_secret

openssl rand -base64 64 | tr -d '\n'

for

bluesky_pds_plc_rotation_key_k256_private_key_hex

openssl rand -hex 32

bluesky_pds_admin_password

openssl rand -base64 16

Configure DNS

Administration

create user via POST

curl -X POST https://your-pds-domain/xrpc/com.atproto.server.createAccount \
  --user "admin:$admin-password" 
  -H "Content-Type: application/json" \
  -d '{
        "email": "user@example.com",
        "handle": "username",
        "password": "securepassword123",
        "inviteCode": "optional-invite-code"
      }'

Use pdsadmin

docker compose exec -it pds pdsadmin

docker compose exec -it pds pdsadmin account create-invite-code

Debugging

https://bluesky.veen.world/.well-known/atproto-did

more information