diff --git a/roles/docker-bluesky/README.md b/roles/docker-bluesky/README.md index e01e8d43..bdb9cf28 100644 --- a/roles/docker-bluesky/README.md +++ b/roles/docker-bluesky/README.md @@ -1,23 +1,27 @@ # DRAFT role docker-bluesky -## Set variables -### bluesky_pds_jwt_secret +## Setup +### Set variables + +#### bluesky_pds_jwt_secret ```bash openssl rand -base64 64 | tr -d '\n' ``` for -### bluesky_pds_plc_rotation_key_k256_private_key_hex +#### bluesky_pds_plc_rotation_key_k256_private_key_hex openssl rand -hex 32 -### bluesky_pds_admin_password +#### bluesky_pds_admin_password openssl rand -base64 16 -### bluesky_database_password -openssl rand -base64 32 +### Configure DNS +- https://bsky.social/about/blog/4-28-2023-domain-handle-tutorial -## create user +## Administration + +### create user via POST ```bash curl -X POST https://your-pds-domain/xrpc/com.atproto.server.createAccount \ --user "admin:$admin-password" @@ -30,11 +34,26 @@ curl -X POST https://your-pds-domain/xrpc/com.atproto.server.createAccount \ }' ``` +### Use pdsadmin +docker compose exec -it pds pdsadmin + +docker compose exec -it pds pdsadmin account create-invite-code + +## Debugging + +- Websocket: https://piehost.com/websocket-tester +- Instance: https://bsky-debug.app + +https://bluesky.veen.world/.well-known/atproto-did + + ## more information - https://therobbiedavis.com/selfhosting-bluesky-with-docker-and-swag/ -- https://cprimozic.net/notes/posts/notes-on-self-hosting-bluesky-pds-alongside-other-services/ +- Relevant for proxy configuration: https://cprimozic.net/notes/posts/notes-on-self-hosting-bluesky-pds-alongside-other-services/ - https://github.com/bluesky-social/pds - https://chatgpt.com/c/678a2eb6-145c-800f-bf51-ff706981a928 - https://www.youtube.com/watch?v=7_AG50u7D6c - https://github.com/bluesky-social/pds/issues/52 -- https://github.com/lhaig/pdsadmin \ No newline at end of file +- https://github.com/lhaig/pdsadmin +- https://github.com/bluesky-social/pds/issues/147 +- \ No newline at end of file